Merge remote-tracking branch 'nixpkgs/staging-next' into staging
This will bring in the fix for the yarGen eval failure.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "css-html-js-minify";
|
||||
version = "2.5.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "4a9f11f7e0496f5284d12111f3ba4ff5ff2023d12f15d195c9c48bd97013746c";
|
||||
};
|
||||
|
||||
doCheck = false; # Tests are useless and broken
|
||||
|
||||
pythonImportsCheck = [ "css_html_js_minify" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "StandAlone Async cross-platform Minifier for the Web";
|
||||
homepage = "https://github.com/juancarlospaco/css-html-js-minify";
|
||||
license = with licenses; [ gpl3Plus lgpl3Plus mit ];
|
||||
maintainers = with maintainers; [ FlorianFranzen ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, gcc-unwrapped
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "cxxfilt";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ef6810e76d16c95c11b96371e2d8eefd1d270ec03f9bcd07590e8dcc2c69e92b";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace cxxfilt/__init__.py \
|
||||
--replace "find_any_library('stdc++', 'c++')" '"${lib.getLib gcc-unwrapped}/lib/libstdc++.so"'
|
||||
'';
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cxxfilt"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Demangling C++ symbols in Python / interface to abi::__cxa_demangle ";
|
||||
homepage = "https://github.com/afq984/python-cxxfilt";
|
||||
license = licenses.bsd2;
|
||||
maintainers = teams.determinatesystems.members;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, requests
|
||||
, tornado
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pytest-cov
|
||||
, pytest-vcr
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "deezer-python";
|
||||
version = "2.2.2";
|
||||
disabled = pythonOlder "3.6";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "browniebroke";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1l8l4lxlqsj921gk1mxcilp11jx31addiyd9pk604aldgqma709y";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov
|
||||
pytest-vcr
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
tornado
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A friendly Python wrapper around the Deezer API";
|
||||
homepage = "https://github.com/browniebroke/deezer-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ synthetica ];
|
||||
};
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy27
|
||||
@@ -30,6 +29,11 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ pyparsing ];
|
||||
|
||||
pythonImportsCheck = [ "httplib2" ];
|
||||
|
||||
# Don't run tests for Python 2.7
|
||||
doCheck = !isPy27;
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
pytest-forked
|
||||
@@ -40,12 +44,9 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Don't run tests for Python 2.7 or Darwin
|
||||
# Nearly 50% of the test suite requires local network access
|
||||
# which isn't allowed on sandboxed Darwin builds
|
||||
doCheck = !(isPy27 || stdenv.isDarwin);
|
||||
pytestFlagsArray = [ "--ignore python2" ];
|
||||
pythonImportsCheck = [ "httplib2" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A comprehensive HTTP client library";
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pytest-cov
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "multimethod";
|
||||
version = "1.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b9c6f85ecf187f14a3951fff319643e1fac3086d757dec64f2469e1fd136b65d";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov
|
||||
];
|
||||
|
||||
pythomImportsCheck = [
|
||||
"multimethod"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Multiple argument dispatching";
|
||||
homepage = "https://github.com/coady/multimethod";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.determinatesystems.members;
|
||||
};
|
||||
}
|
||||
@@ -8,19 +8,22 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pg8000";
|
||||
version = "1.19.0";
|
||||
version = "1.19.2";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-EexwwLIOpECAfiyGmUDxSE7qk9cbQ1gHtjhW3YK3RN0=";
|
||||
sha256 = "sha256-RMu008kS8toWfKAr+YoAQPfpMmDk7xFMKNXWFSAS6gc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [passlib scramp ];
|
||||
propagatedBuildInputs = [
|
||||
passlib
|
||||
scramp
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "scramp==1.3.0" "scramp>=1.3.0"
|
||||
--replace "scramp==1.4.0" "scramp>=1.4.0"
|
||||
'';
|
||||
|
||||
# Tests require a running PostgreSQL instance
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "plugnplay";
|
||||
version = "0.5.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "877e2d2500a45aaf31e5175f9f46182088d3e2d64c1c6b9ff6c778ae0ee594c8";
|
||||
};
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"plugnplay"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Generic plug-in system for python applications";
|
||||
homepage = "https://github.com/daltonmatos/plugnplay";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = teams.determinatesystems.members;
|
||||
};
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
{ buildPythonPackage
|
||||
, addOpenGLRunpath
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, Mako
|
||||
@@ -40,6 +41,13 @@ buildPythonPackage rec {
|
||||
ln -s ${compyte} $out/${python.sitePackages}/pycuda/compyte
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
find $out/lib -type f \( -name '*.so' -or -name '*.so.*' \) | while read lib; do
|
||||
echo "setting opengl runpath for $lib..."
|
||||
addOpenGLRunpath "$lib"
|
||||
done
|
||||
'';
|
||||
|
||||
# Requires access to libcuda.so.1 which is provided by the driver
|
||||
doCheck = false;
|
||||
|
||||
@@ -47,6 +55,10 @@ buildPythonPackage rec {
|
||||
py.test
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
addOpenGLRunpath
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
pytools
|
||||
|
||||
@@ -2,22 +2,27 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymavlink";
|
||||
version = "2.4.14";
|
||||
version = "2.4.15";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3bc3709c735ebb3f98f19e96c8887868f4671077d4808076cfc5445912633881";
|
||||
sha256 = "106va20k0ahy0l2qvxf8k5pvqkgdmxbgzd9kij9fkrahlba5mx3v";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ future lxml ];
|
||||
|
||||
# No tests included in PyPI tarball
|
||||
# No tests included in PyPI tarball. We cannot use the GitHub tarball because
|
||||
# we would like to use the same commit of the mavlink messages repo as
|
||||
# included in the PyPI tarball, and there is no easy way to determine what
|
||||
# commit is included.
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pymavlink" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python MAVLink interface and utilities";
|
||||
homepage = "https://github.com/ArduPilot/pymavlink";
|
||||
license = licenses.lgpl3;
|
||||
license = with licenses; [ lgpl3Only mit ];
|
||||
maintainers = with maintainers; [ lopsided98 ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-slackclient";
|
||||
pname = "slackclient";
|
||||
version = "2.9.3";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, sphinx
|
||||
, beautifulsoup4
|
||||
, python-slugify
|
||||
, unidecode
|
||||
, css-html-js-minify
|
||||
, lxml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sphinx-material";
|
||||
version = "0.0.32";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "sphinx_material";
|
||||
inherit version;
|
||||
sha256 = "ec02825a1bbe8b662fe624c11b87f1cd8d40875439b5b18c38649cf3366201fa";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
sphinx
|
||||
beautifulsoup4
|
||||
python-slugify
|
||||
unidecode
|
||||
css-html-js-minify
|
||||
lxml
|
||||
];
|
||||
|
||||
doCheck = false; # no tests
|
||||
|
||||
pythonImportsCheck = [ "sphinx_material" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A material-based, responsive theme inspired by mkdocs-material";
|
||||
homepage = "https://bashtage.github.io/sphinx-material";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ FlorianFranzen ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
, fetchFromGitHub
|
||||
, funcy
|
||||
, pefile
|
||||
, vivisect
|
||||
, intervaltree
|
||||
, setuptools
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "viv-utils";
|
||||
version = "0.3.17";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "williballenthin";
|
||||
repo = "viv-utils";
|
||||
rev = "v${version}";
|
||||
sha256 = "wZWp6PMn1to/jP6lzlY/x0IhS/0w0Ys7AdklNQ+Vmyc=";
|
||||
};
|
||||
|
||||
# argparse is provided by Python itself
|
||||
preBuild = ''
|
||||
sed '/"argparse",/d' -i setup.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
funcy
|
||||
pefile
|
||||
vivisect
|
||||
intervaltree
|
||||
setuptools
|
||||
];
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"viv_utils"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utilities for working with vivisect";
|
||||
homepage = "https://github.com/williballenthin/viv-utils";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.determinatesystems.members;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
, fetchPypi
|
||||
, pyasn1
|
||||
, pyasn1-modules
|
||||
, cxxfilt
|
||||
, msgpack
|
||||
, pycparser
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "vivisect";
|
||||
version = "0.1.0";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ed5e8c24684841d30dc7b41f2bee87c0198816a453417ae2e130b7845ccb2629";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyasn1
|
||||
pyasn1-modules
|
||||
cxxfilt
|
||||
msgpack
|
||||
pycparser
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
sed "s@==.*'@'@" -i setup.py
|
||||
'';
|
||||
|
||||
# requires another repo for test files
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"vivisect"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pure python disassembler, debugger, emulator, and static analysis framework";
|
||||
homepage = "https://github.com/vivisect/vivisect";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.determinatesystems.members;
|
||||
};
|
||||
}
|
||||
@@ -1,19 +1,18 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, inetutils
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "whois";
|
||||
version = "0.9.7";
|
||||
version = "0.9.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DannyCork";
|
||||
repo = "python-whois";
|
||||
rev = version;
|
||||
sha256 = "1rbc4xif4dn455vc8dhxdvwszrb0nik5q9fy12db6mxfx6zikb7z";
|
||||
sha256 = "0y2sfs6nkr2j2crrn81wkfdzn9aphb3iaddya5zd2midlgdqq7bw";
|
||||
};
|
||||
|
||||
# whois is needed
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, click
|
||||
, multimethod
|
||||
, numpy
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "woodblock";
|
||||
version = "0.1.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c0347ece920b7009d94551983a01f42db02920ca8d7b0ff36d24a337e2c937f7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
multimethod
|
||||
numpy
|
||||
];
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"woodblock"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A framework to generate file carving test data";
|
||||
homepage = "https://github.com/fkie-cad/woodblock";
|
||||
license = licenses.mit;
|
||||
maintainers = teams.determinatesystems.members;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user