Merge branch 'master' into staging-next

Hydra nixpkgs: ?compare=1523028
This commit is contained in:
Vladimír Čunát
2019-06-03 10:00:49 +02:00
392 changed files with 11536 additions and 4972 deletions

View File

@@ -58,6 +58,12 @@ buildPythonPackage rec {
sha256 = "1a5y1qriy76hl4yxvbf365b1ggsxybm06mi1pwb5jkgbkwk2gkrf";
};
patchPhase = ''
# upstream added bound so that requires.io doesn't send mails about update
# nikola should work with markdown 3.0: https://github.com/getnikola/nikola/pull/3175#issue-220147596
sed -i 's/Markdown>.*/Markdown/' requirements.txt
'';
checkPhase = ''
LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" py.test .
'';

View File

@@ -0,0 +1,62 @@
{ lib
, buildPythonPackage
, fetchPypi
, mpmath
, numpy
, pipdate
, pybind11
, pyfma
, eigen
, pytest
, matplotlib
, perfplot
, isPy27
}:
buildPythonPackage rec {
pname = "accupy";
version = "0.1.4";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "2a67f2a778b824fb24eb338fed8e0b61c1af93369d57ff8132f5d602d60f0543";
};
buildInputs = [
pybind11 eigen
];
propagatedBuildInputs = [
mpmath
numpy
pipdate
pyfma
];
checkInputs = [
pytest
matplotlib
perfplot
];
postConfigure = ''
substituteInPlace setup.py \
--replace "/usr/include/eigen3/" "${eigen}/include/eigen3/"
'';
preBuild = ''
export HOME=$(mktemp -d)
'';
checkPhase = ''
pytest test
'';
meta = with lib; {
description = "Accurate sums and dot products for Python";
homepage = https://github.com/nschloe/accupy;
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "amqp";
version = "2.4.2";
version = "2.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "043beb485774ca69718a35602089e524f87168268f0d1ae115f28b88d27f92d7";
sha256 = "1j1046gcriidsfha0hvrw6hwcm0wrhbvg0prjjji5inaadyzidnb";
};
checkInputs = [ pytest case pytest-sugar ];

View File

@@ -0,0 +1,24 @@
{ buildPythonPackage
, lib
, fetchPypi
, portalocker
}:
buildPythonPackage rec {
version = "0.11.9";
pname = "applicationinsights";
src = fetchPypi {
inherit pname version;
sha256 = "1hyjdv6xnswgqvip8y164piwfach9hjkbp7vc2qzhd7amjpim89h";
};
propagatedBuildInputs = [ portalocker ];
meta = with lib; {
description = "This project extends the Application Insights API surface to support Python";
homepage = https://github.com/Microsoft/ApplicationInsights-Python;
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "aspy.yaml";
version = "1.1.2";
version = "1.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "5eaaacd0886e8b581f0e4ff383fb6504720bb2b3c7be17307724246261a41adf";
sha256 = "0i9z2jm2hjwdxdv4vw4kbs70h2ciz49rv8w73zbawb7z5qw45iz7";
};
propagatedBuildInputs = [ pyyaml ];

View File

@@ -0,0 +1,18 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "cachelib";
version = "0.1";
src = fetchPypi {
inherit pname version;
sha256 = "13dfv0a4ahgx0wmpqv8jqhshim4229p9c1c7gcsra81pkm89p24b";
};
meta = with stdenv.lib; {
homepage = "https://github.com/pallets/cachelib";
description = "Collection of cache libraries in the same API interface";
license = licenses.bsd3;
maintainers = with maintainers; [ gebner ];
};
}

View File

@@ -1,32 +1,49 @@
{ stdenv
, lib
, buildPythonPackage
, pkgs
, numpy
, scipy
, openmpi
, enum34
, protobuf
, pip
, python
, swig
}:
let
cntk = pkgs.cntk;
in
buildPythonPackage rec {
inherit (pkgs.cntk) name version src;
inherit (cntk) name version src;
nativeBuildInputs = [ pkgs.swig pkgs.openmpi ];
buildInputs = [ pkgs.cntk pkgs.openmpi ];
nativeBuildInputs = [ swig openmpi ];
buildInputs = [ cntk openmpi ];
propagatedBuildInputs = [ numpy scipy enum34 protobuf pip ];
CNTK_LIB_PATH = "${pkgs.cntk}/lib";
CNTK_COMPONENT_VERSION = pkgs.cntk.version;
CNTK_LIB_PATH = "${cntk}/lib";
CNTK_COMPONENT_VERSION = cntk.version;
CNTK_VERSION = cntk.version;
CNTK_VERSION_BANNER = cntk.version;
postPatch = ''
cd bindings/python
sed -i 's,"libmpi.so.12","${pkgs.openmpi}/lib/libmpi.so",g' cntk/train/distributed.py
sed -i 's,"libmpi.so.12","${openmpi}/lib/libmpi.so",g' cntk/train/distributed.py
# Remove distro and libs checks; they aren't compatible with NixOS and besides we guarantee
# compatibility by providing a package.
cat <<EOF > cntk/cntk_py_init.py
def cntk_check_distro_info():
pass
def cntk_check_libs():
pass
EOF
'';
postInstall = ''
rm -rf $out/${python.sitePackages}/cntk/libs
ln -s ${pkgs.cntk}/lib $out/${python.sitePackages}/cntk/libs
ln -s ${cntk}/lib $out/${python.sitePackages}/cntk/libs
# It's not installed for some reason.
cp cntk/cntk_py.py $out/${python.sitePackages}/cntk
'';
@@ -38,10 +55,8 @@ buildPythonPackage rec {
'';
meta = {
inherit (pkgs.cntk.meta) homepage description license maintainers;
# broken in CNTK 2.4 starting with python-3.7
# ("ImportError: cannot import name 'GenericMeta' from 'typing'")
broken = stdenv.lib.versionAtLeast python.version "3.7";
inherit (cntk.meta) homepage description license maintainers platforms;
# doesn't support Python 3.7
broken = lib.versionAtLeast python.version "3.7";
};
}

View File

@@ -22,6 +22,8 @@ buildPythonPackage rec {
# test_aside_basic times out,
# test_aside_cancel fails because modifies PYTHONPATH and cant find pytest
checkPhase = ''
# __pycache__ was packaged accidentally, https://github.com/dabeaz/curio/issues/301
rm -r tests/__pycache__
pytest --deselect tests/test_task.py::test_aside_basic --deselect tests/test_task.py::test_aside_cancel
'';

View File

@@ -11,19 +11,20 @@
, pytest
, pytestrunner
, pytest-asyncio
, black
, aiohttp
, beautifulsoup4
}:
buildPythonPackage rec {
pname = "datasette";
version = "0.27";
version = "0.28";
src = fetchFromGitHub {
owner = "simonw";
repo = "datasette";
rev = version;
sha256 = "02k1kk6bw034rs74w0viwzapxz684lqgjvw5q5j5xgr0i4kynylp";
sha256 = "1m2s03gyq0ghjc3s0b5snpinisddywpgii2f0zqa3v4ljmzanx7h";
};
buildInputs = [ pytestrunner ];
@@ -43,24 +44,23 @@ buildPythonPackage rec {
pytest-asyncio
aiohttp
beautifulsoup4
black
];
postConfigure = ''
substituteInPlace setup.py \
--replace "click==6.7" "click" \
--replace "click-default-group==1.2" "click-default-group" \
--replace "Sanic==0.7.0" "Sanic" \
--replace "hupper==1.0" "hupper" \
--replace "pint==0.8.1" "pint" \
--replace "Jinja2==2.10" "Jinja2"
--replace "Jinja2==2.10.1" "Jinja2"
'';
# many tests require network access
checkPhase = ''
pytest --ignore tests/test_api.py \
--ignore tests/test_csv.py \
--ignore tests/test_html.py \
--ignore tests/test_publish_heroku.py
--ignore tests/test_html.py
'';
meta = with lib; {

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "django-cors-headers";
version = "2.5.3";
version = "3.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "0ljyfbpg34n7b8k31xc4q9c922p836km9wxh0algdxxfkam7z667";
sha256 = "0b11nkcviwv5dqnlmv63bgzciczb51wairm8b6wr6sda4p7y5wzb";
};
propagatedBuildInputs = [ django ];

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "django-classy-tags";
version = "0.8.0";
version = "0.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "1f2dc9rq8v9sc4kv4x9hmbzp5c4amdxjkz5nzas5abg2s1hr2bvr";
sha256 = "0axzsigvmb17ha5mnr3xf6c851kwinjpkxksxwprwjakh1m59d1q";
};
propagatedBuildInputs = [ django ];

View File

@@ -1,13 +1,13 @@
{ stdenv, buildPythonPackage, fetchPypi, flask, events
, pymongo, simplejson, cerberus }:
, pymongo, simplejson, cerberus, werkzeug }:
buildPythonPackage rec {
pname = "Eve";
version = "0.8.1";
version = "0.9";
src = fetchPypi {
inherit pname version;
sha256 = "88105080e8a2567a1a8d50a5cded0d7d95e95f704b310c8107ef2ff7696f5316";
sha256 = "18shfaxa1vqshnyiqx3jqsri2wxz9ibip3mdxaz8pljmk734r4b1";
};
propagatedBuildInputs = [
@@ -16,14 +16,16 @@ buildPythonPackage rec {
flask
pymongo
simplejson
werkzeug
];
# tests call a running mongodb instance
doCheck = false;
meta = with stdenv.lib; {
homepage = "http://python-eve.org/";
homepage = "https://python-eve.org/";
description = "Open source Python REST API framework designed for human beings";
license = licenses.bsd3;
maintainers = [ maintainers.marsam ];
};
}

View File

@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "fonttools";
version = "3.41.0";
version = "3.42.0";
src = fetchPypi {
inherit pname version;
sha256 = "1f3q9sadwy6krsjicrgjsl1w2dfd97j4l645lnl1f5y3y1jkj4fh";
sha256 = "0w0ncs61821bnc2smfllnhfw5b8fwz972yqcgb64lr5qiwxkj2y0";
extension = "zip";
};

View File

@@ -1,6 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, jinja2
}:
buildPythonPackage rec {
@@ -12,10 +13,19 @@ buildPythonPackage rec {
sha256 = "ca94c337f2d9a70db177ec4330534fad7b2b772beda625c1ec071fbcf1361e22";
};
propagatedBuildInputs = [
jinja2
];
# There are no unit tests in the pypi tarball. Most of the unit tests on the
# github repository currently only work with gcc5, so we just disable them.
# See also: https://github.com/gcovr/gcovr/issues/206
doCheck = false;
meta = with stdenv.lib; {
description = "A Python script for summarizing gcov data";
license = licenses.bsd0;
homepage = http://gcovr.com/;
homepage = https://www.gcovr.com/;
};
}

View File

@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "jupytext";
version = "0.8.6";
version = "1.1.3";
src = fetchPypi {
inherit pname version;
sha256 = "1m35m9z4vy480d2200nd4lk9n5s4z3zcnq0d9rdlh4yv5264mrgf";
sha256 = "1klcx333kpgb5gbaasmz07brqjxvls3l5dpj0kv9cfsd76cq17yh";
};
propagatedBuildInputs = [

View File

@@ -2,13 +2,13 @@
python.pkgs.buildPythonPackage rec {
pname = "klaus";
version = "1.3.0";
version = "1.4.0";
src = fetchFromGitHub {
owner = "jonashaag";
repo = pname;
rev = version;
sha256 = "04zjvrpx66x2c0v74nvmq8x7s7c8994cv1zwd5hfn9alq82hqcgr";
sha256 = "041l5dpymi9h0yyr55r6m0skp0m2ags3miay0s1bgfcp469k0l20";
};
prePatch = ''

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi
{ lib, buildPythonPackage, fetchPypi, fetchpatch
, six, twisted, werkzeug, incremental
, mock }:
@@ -11,9 +11,17 @@ buildPythonPackage rec {
sha256 = "30aaf0d78a987d5dbfe0968a07367ad0c73e02823cc8eef4c54f80ab848370d0";
};
patches = [
(fetchpatch {
name = "tests-expect-werkzeug-308.patch";
url = https://github.com/twisted/klein/commit/e2a5835b83e37a2bc5faefbfe1890c529b18b9c6.patch;
sha256 = "03j0bj3l3hnf7f96rb27i4bzy1iih79ll5bcah7gybdi1wpznh8w";
})
];
propagatedBuildInputs = [ six twisted werkzeug incremental ];
checkInputs = [ mock ];
checkInputs = [ mock twisted ];
checkPhase = ''
trial klein

View File

@@ -6,13 +6,13 @@
buildPythonPackage rec {
pname = "lark-parser";
version = "0.7.0";
version = "0.7.1";
src = fetchFromGitHub {
owner = "lark-parser";
repo = "lark";
rev = version;
sha256 = "1zynj09w361yvbxr4hir681dfnlq1hzniws9dzgmlkvd6jnhjgx3";
sha256 = "17h7s0yc8jyjmlcwsaw93ijl982ws3p8nxif2dc3rv01dqhf0xx1";
};
# tests of Nearley support require js2py

View File

@@ -1,16 +1,16 @@
{ stdenv, buildPythonPackage, fetchFromGitHub
{ stdenv, buildPythonPackage, python, fetchFromGitHub
, cmake, sip, protobuf, pythonOlder }:
buildPythonPackage rec {
pname = "libarcus";
version = "4.0.0";
version = "4.1.0";
format = "other";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "libArcus";
rev = version;
sha256 = "14c62bsc2cynhaajpdidcqpq2vqwshrdkqyzwvpsjjbfmlx3b1ay";
sha256 = "1x06daijxbrqj0dlxmi2zn7ap74zf6hih3krmkwhvarm2nr052g4";
};
disabled = pythonOlder "3.4.0";
@@ -20,8 +20,7 @@ buildPythonPackage rec {
buildInputs = [ protobuf ];
postPatch = ''
# To workaround buggy SIP detection which overrides PYTHONPATH
sed -i '/SET(ENV{PYTHONPATH}/d' cmake/FindSIP.cmake
sed -i 's#''${Python3_SITELIB}#${placeholder "out"}/${python.sitePackages}#' cmake/SIPMacros.cmake
'';
meta = with stdenv.lib; {

View File

@@ -1,20 +1,19 @@
{ stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, cmake, sip }:
{ stdenv, buildPythonPackage, python, pythonOlder, fetchFromGitHub, cmake, sip }:
buildPythonPackage rec {
pname = "libsavitar";
version = "4.0.0";
version = "4.1.0";
format = "other";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "libSavitar";
rev = version;
sha256 = "1q70l37qafzfkpw8vlagmpd2w576b6jc1xmxp3wf3qfq45j8kya0";
sha256 = "132bgcvjkr61pzf244hwz8gxzpg1i50na4bkcipwnyxdravdkkgf";
};
postPatch = ''
# To workaround buggy SIP detection which overrides PYTHONPATH
sed -i '/SET(ENV{PYTHONPATH}/d' cmake/FindSIP.cmake
sed -i 's#''${Python3_SITELIB}#${placeholder "out"}/${python.sitePackages}#' cmake/SIPMacros.cmake
'';
nativeBuildInputs = [ cmake ];

View File

@@ -7,22 +7,18 @@
buildPythonPackage rec {
pname = "Markdown";
version = "2.6.10";
version = "3.1.1";
src = fetchPypi {
extension = "zip";
inherit pname version;
sha256 = "cfa536d1ee8984007fcecc5a38a493ff05c174cb74cb2341dafd175e6bc30851";
sha256 = "2e50876bcdd74517e7b71f3e7a76102050edec255b3983403f1a63e7c8a41e7a";
};
# error: invalid command 'test'
# doCheck = false;
checkInputs = [ nose pyyaml ];
meta = {
description = "A Python implementation of John Grubers Markdown with Extension support";
homepage = https://github.com/Python-Markdown/markdown;
description = "A Python implementation of John Gruber's Markdown with Extension support";
homepage = "https://github.com/Python-Markdown/markdown";
license = lib.licenses.bsd3;
};
}

View File

@@ -1,4 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi, markdown }:
{ stdenv, buildPythonPackage, fetchPypi, markdown,
pytest, pytestrunner, pytestcov, coverage }:
buildPythonPackage rec {
pname = "MarkdownSuperscript";
@@ -11,7 +12,15 @@ buildPythonPackage rec {
propagatedBuildInputs = [ markdown ];
doCheck = false; # See https://github.com/NixOS/nixpkgs/pull/26985
postPatch = ''
# remove version bounds for Markdown dependency
sed 's/\["Markdown.*"\]/["Markdown"]/' -i setup.py
# remove version bounds for test dependencies
sed 's/=.*//' -i requirements/*.txt
'';
checkInputs = [ pytest pytestrunner pytestcov coverage ];
meta = {
description = "An extension to the Python Markdown package enabling superscript text";

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "mautrix-appservice";
version = "0.3.8";
version = "0.3.10.dev1";
src = fetchPypi {
inherit pname version;
sha256 = "b5752c6d84bf952698aec500b16542f6d2aacea37efd5be59087b5d9ea38c98f";
sha256 = "ed827ff2a50b43f8125268145991d51b4a32ea4fbdd95b589ea15019b72a0bc3";
};
propagatedBuildInputs = [

View File

@@ -21,7 +21,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace python/setup.py \
--replace "graphviz<0.9.0," "graphviz" \
--replace "numpy<=1.15.0," "numpy" \
--replace "numpy<=1.15.2," "numpy" \
--replace "requests<2.19.0," "requests"
'';

View File

@@ -42,6 +42,11 @@ buildPythonPackage rec {
postPatch= ''
substituteInPlace pelican/tests/test_pelican.py \
--replace "'git'" "'${git}/bin/git'"
# Markdown-3.1 changed footnote separator to colon
# https://github.com/getpelican/pelican/issues/2493#issuecomment-491723744
sed -i '/test_article_with_footnote/i\
@unittest.skip("")' pelican/tests/test_readers.py
'';
LC_ALL="en_US.UTF-8";

View File

@@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, matplotlib
, numpy
, pipdate
, tqdm
, pytest
, isPy27
}:
buildPythonPackage rec {
pname = "perfplot";
version = "0.5.0";
disabled = isPy27;
src = fetchFromGitHub {
owner = "nschloe";
repo = "perfplot";
rev = "v${version}";
sha256 = "16aj5ryjic1k3qn8xhpw6crczvxcs691vs5kv4pvb1zdx69g1xbv";
};
propagatedBuildInputs = [
matplotlib
numpy
pipdate
tqdm
];
checkInputs = [
pytest
];
checkPhase = ''
HOME=$(mktemp -d) pytest test/perfplot_test.py
'';
meta = with lib; {
description = "Performance plots for Python code snippets";
homepage = https://github.com/nschloe/perfplot;
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}

View File

@@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchPypi
, appdirs
, requests
, pytest
}:
buildPythonPackage rec {
pname = "pipdate";
version = "0.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "a27f64d13269adfd8594582f5a62c9f2151b426e701afdfc3b4f4019527b4121";
};
propagatedBuildInputs = [
appdirs
requests
];
checkInputs = [
pytest
];
checkPhase = ''
HOME=$(mktemp -d) pytest test/test_pipdate.py
'';
# tests require network access
doCheck = false;
meta = with lib; {
description = "pip update helpers";
homepage = https://github.com/nschloe/pipdate;
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}

View File

@@ -0,0 +1,37 @@
{ buildPythonPackage
, fetchPypi
, lib
, sphinx
, flake8
, pytest
, pytestcov
, pytest-flakes
, pytestpep8
}:
buildPythonPackage rec {
version = "1.4.0";
pname = "portalocker";
src = fetchPypi {
inherit pname version;
sha256 = "0gwjnalfwl1mb9a04m9h3hrds75xmc9na666aiz2cgz0m545dcrz";
};
checkInputs = [
sphinx
flake8
pytest
pytestcov
pytest-flakes
pytestpep8
];
meta = with lib; {
description = "A library to provide an easy API to file locking";
homepage = https://github.com/WoLpH/portalocker;
license = licenses.psfl;
maintainers = with maintainers; [ jonringer ];
platforms = platforms.unix; # Windows has a dependency on pypiwin32
};
}

View File

@@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchPypi
, pybind11
, numpy
, pytest
}:
buildPythonPackage rec {
pname = "pyfma";
version = "0.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "79514717f8e632a0fb165e3d61222ed61202bea7b0e082f7b41c91e738f1fbc9";
};
buildInputs = [
pybind11
];
checkInputs = [
numpy
pytest
];
preBuild = ''
export HOME=$(mktemp -d)
'';
checkPhase = ''
pytest test
'';
meta = with lib; {
description = "Fused multiply-add for Python";
homepage = https://github.com/nschloe/pyfma;
license = licenses.mit;
maintainers = [ maintainers.costrouc];
};
}

View File

@@ -2,15 +2,15 @@
buildPythonPackage rec {
pname = "pylru";
version = "1.1.0";
version = "1.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "e03a3d354eb8fdfa11638698e8a1f06cd3b3a214ebc0a120c603a79290d9ebec";
sha256 = "492f934bb98dc6c8b2370c02c95c65516ddc08c8f64d27f70087eb038621d297";
};
meta = with lib; {
homepage = https://github.com/jlhutch/pylru;
homepage = "https://github.com/jlhutch/pylru";
description = "A least recently used (LRU) cache implementation";
license = licenses.gpl2;
maintainers = with maintainers; [ abbradar ];

View File

@@ -0,0 +1,37 @@
{ lib
, buildPythonPackage, fetchPypi
, numpy, scipy, cython, six, decorator
}:
buildPythonPackage rec {
pname = "pysptk";
version = "0.1.17";
src = fetchPypi {
inherit pname version;
sha256 = "aa8bd2ae84bfe72e9015ccb69eb3b687bc64fad6139ae0b327fe07918e1e28ff";
};
PYSPTK_BUILD_VERSION = 0;
nativeBuildInputs = [
cython
];
propagatedBuildInputs = [
numpy
scipy
six
decorator
];
# No tests in the PyPI tarball
doCheck = false;
meta = with lib; {
description = "A python wrapper for Speech Signal Processing Toolkit (SPTK)";
homepage = https://pysptk.readthedocs.io/en/latest/;
license = licenses.mit;
maintainers = with maintainers; [ hyphon81 ];
};
}

View File

@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "salmon-mail";
version = "3.1.0";
version = "3.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "cb2f9c3bf2b9f8509453ca8bc06f504350e19488eb9d3d6a4b9e4b8c160b527d";
sha256 = "0ddd9nwdmiibk3jaampznm8nai5b7zalp0f8c65l71674300bqnw";
};
checkInputs = [ nose jinja2 mock ];

View File

@@ -0,0 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi, urllib3, certifi }:
buildPythonPackage rec {
pname = "sentry-sdk";
version = "0.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "f5819df450d7b0696be69a0c6d70a09e4890a3844ee8ccb7a461794135bd5965";
};
propagatedBuildInputs = [ urllib3 certifi ];
meta = with stdenv.lib; {
homepage = "https://github.com/getsentry/sentry-python";
description = "New Python SDK for Sentry.io";
license = licenses.bsd2;
maintainers = with maintainers; [ gebner ];
};
}

View File

@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, numpy
, scipy
, numba
@@ -11,6 +12,8 @@ buildPythonPackage rec {
pname = "sparse";
version = "0.7.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0ija4pl8wg36ldsdv5jmqr5i75qi17vijcwwf2jdn1k15kqg35j4";

View File

@@ -14,13 +14,13 @@
buildPythonPackage rec {
pname = "trezor";
version = "0.11.2";
version = "0.11.3";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "a6f4b47b37a21247535fc43411cb70a8c61ef0a5a2dfee668bd05611e2741fb8";
sha256 = "c79a500e90d003073c8060d319dceb042caaba9472f13990c77ed37d04a82108";
};
propagatedBuildInputs = [ typing-extensions protobuf hidapi ecdsa mnemonic requests pyblake2 click construct libusb1 rlp ];
@@ -43,6 +43,6 @@ buildPythonPackage rec {
description = "Python library for communicating with TREZOR Bitcoin Hardware Wallet";
homepage = https://github.com/trezor/python-trezor;
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ np prusnak ];
maintainers = with lib.maintainers; [ np prusnak mmahut ];
};
}

View File

@@ -2,7 +2,7 @@
, pyqt5, numpy, scipy, shapely, libarcus, doxygen, gettext, pythonOlder }:
buildPythonPackage rec {
version = "4.0.0";
version = "4.1.0";
pname = "uranium";
format = "other";
@@ -10,7 +10,7 @@ buildPythonPackage rec {
owner = "Ultimaker";
repo = "Uranium";
rev = version;
sha256 = "1dzn064np76q0xpypcwsa7k7arzihg79xw1pgcvdizk9kzc6rw3y";
sha256 = "0vjlir9rd3xdlb8icdcr51qjmnh8nny6ajycria9idccriaqficj";
};
disabled = pythonOlder "3.5.0";

View File

@@ -1,24 +0,0 @@
{ lib, buildPythonPackage, fetchFromGitHub
, pytest_3 }:
buildPythonPackage rec {
pname = "zxcvbn-python";
version = "4.4.27";
src = fetchFromGitHub {
owner = "dwolfhub";
repo = pname;
rev = "v${version}";
sha256 = "0w0sx9ssjks8da973cdv5xi87yjsf038jqxmzj2y26xvpyjsg2v2";
};
checkInputs = [
pytest_3
];
meta = {
description = "Python implementation of Dropbox's realistic password strength estimator, zxcvbn";
homepage = https://github.com/dwolfhub/zxcvbn-python;
license = with lib.licenses; [ mit ];
};
}

View File

@@ -0,0 +1,27 @@
{ lib, buildPythonPackage, fetchFromGitHub, pytest }:
buildPythonPackage rec {
pname = "zxcvbn";
version = "4.4.28";
# no tests included in PyPI tarball
src = fetchFromGitHub {
owner = "dwolfhub";
repo = "zxcvbn-python";
rev = "45afdf0d3dd8477bc7e457629bb4bc9680794cd7"; # not tagged in repository
sha256 = "0w0sx9ssjks8da973cdv5xi87yjsf038jqxmzj2y26xvpyjsg2v2";
};
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Python implementation of Dropbox's realistic password strength estimator";
homepage = "https://github.com/dwolfhub/zxcvbn-python";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
};
}