Merge branch 'master' into staging-next

The nss rebuild isn't so small.
This commit is contained in:
Vladimír Čunát
2020-01-08 22:48:13 +01:00
142 changed files with 9444 additions and 5948 deletions

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "awkward";
version = "0.12.18";
version = "0.12.19";
src = fetchPypi {
inherit pname version;
sha256 = "9b3df4f2be92ac7d16709f15769c97591f25f0442061f1a4cc8715feb268e45c";
sha256 = "1s729a8205jzg7pfw8xgmi850x03p9nw8c6a602f5bnmhha96h45";
};
nativeBuildInputs = [ pytestrunner ];

View File

@@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchPypi
, pytest, pytestrunner, pytestcov, mock, glibcLocales, lxml, boto3
, requests, click, configparser, fido2, isPy27 }:
, requests, requests-kerberos, click, configparser, fido2, isPy27 }:
buildPythonPackage rec {
pname = "aws-adfs";
@@ -24,7 +24,7 @@ buildPythonPackage rec {
LC_ALL = "en_US.UTF-8";
checkInputs = [ glibcLocales pytest pytestrunner pytestcov mock ];
propagatedBuildInputs = [ lxml boto3 requests click configparser fido2 ];
propagatedBuildInputs = [ lxml boto3 requests requests-kerberos click configparser fido2 ];
meta = with lib; {
description = "Command line tool to ease aws cli authentication against ADFS";

View File

@@ -0,0 +1,20 @@
{ lib, buildPythonPackage, fetchFromGitHub }:
buildPythonPackage rec {
version = "2.0";
pname = "crc32c";
src = fetchFromGitHub {
owner = "ICRAR";
repo = pname;
rev = "v${version}";
sha256 = "15x1sj23n50qdjmi8mjq5wgf5jfn1yv78vjc59wplvl0s50w2dnk";
};
meta = {
description = "Python software implementation and hardware API of CRC32C checksum algorithm";
homepage = "https://github.com/ICRAR/crc32c";
license = lib.licenses.lgpl21;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}

View File

@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "croniter";
version = "0.3.30";
version = "0.3.31";
src = fetchPypi {
inherit pname version;
sha256 = "538adeb3a7f7816c3cdec6db974c441620d764c25ff4ed0146ee7296b8a50590";
sha256 = "15riw8sl8jzzkvvjlz3i3p7jcx423zipxhff5ddvki6zgnrb9149";
};
propagatedBuildInputs = [

View File

@@ -22,12 +22,12 @@
buildPythonPackage rec {
pname = "pikepdf";
version = "1.8.1";
version = "1.8.2";
disabled = ! isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "a57a295296820087e66a3c62569d288958f29d1a354701ace6639a7692cc3022";
sha256 = "1n3fd7i1br1s4f90yismgfcq9ix5kcqfacr7yy0hhhrabkf2sm37";
};
buildInputs = [

View File

@@ -1,8 +1,6 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, docutils
, virtualenv
, webtest
, zope_component
, hupper
@@ -10,7 +8,6 @@
, plaster
, plaster-pastedeploy
, repoze_lru
, repoze_sphinx_autointerface
, translationstring
, venusian
, webob
@@ -28,9 +25,9 @@ buildPythonPackage rec {
sha256 = "d80ccb8cfa550139b50801591d4ca8a5575334adb493c402fce2312f55d07d66";
};
checkInputs = [ docutils virtualenv webtest zope_component ];
checkInputs = [ webtest zope_component ];
propagatedBuildInputs = [ hupper PasteDeploy plaster plaster-pastedeploy repoze_lru repoze_sphinx_autointerface translationstring venusian webob zope_deprecation zope_interface ];
propagatedBuildInputs = [ hupper PasteDeploy plaster plaster-pastedeploy repoze_lru translationstring venusian webob zope_deprecation zope_interface ];
# Failing tests
# https://github.com/Pylons/pyramid/issues/1899

View File

@@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, python-toolbox
, pytest
, isPy27
}:
buildPythonPackage rec {
version = "0.3.0";
pname = "pysnooper";
src = fetchPypi {
inherit version;
pname = "PySnooper";
sha256 = "14vcxrzfmfhsmdck1cb56a6lbfga15qfhlkap9mh47fgspcq8xkx";
};
# test dependency python-toolbox fails with py27
doCheck = !isPy27;
checkInputs = [
python-toolbox
pytest
];
meta = with lib; {
description = "A poor man's debugger for Python";
homepage = https://github.com/cool-RR/PySnooper;
license = licenses.mit;
maintainers = with maintainers; [ seqizz ];
};
}

View File

@@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, docutils
, fetchFromGitHub
, isPy27
, nose
}:
buildPythonPackage rec {
version = "0.9.4";
pname = "python_toolbox";
disabled = isPy27;
src = fetchFromGitHub {
owner = "cool-RR";
repo = pname;
rev = version;
sha256 = "1qy2sfqfrkgxixmd22v5lkrdykdfiymsd2s3xa7ndlvg084cgj6r";
};
checkInputs = [
docutils
nose
];
meta = with lib; {
description = "Tools for testing PySnooper";
homepage = https://github.com/cool-RR/python_toolbox;
license = licenses.mit;
maintainers = with maintainers; [ seqizz ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, docutils, boto3 }:
{ stdenv, buildPythonPackage, fetchPypi, docutils, boto3, fsspec }:
buildPythonPackage rec {
pname = "s3fs";
@@ -10,7 +10,7 @@ buildPythonPackage rec {
};
buildInputs = [ docutils ];
propagatedBuildInputs = [ boto3 ];
propagatedBuildInputs = [ boto3 fsspec ];
# Depends on `moto` which has a long dependency chain with exact
# version requirements that can't be made to work with current

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "uncompyle6";
version = "3.6.1";
version = "3.6.2";
src = fetchPypi {
inherit pname version;
sha256 = "f8c7ba2fd486d40d9a9fc1d6ab438588d7ce1be123aabf488736ff68a05f57f7";
sha256 = "aac071daef4b6cf95143ef08cd35d762a2bf2ea8249119a9371a91149c9996e7";
};
checkInputs = [ nose pytest hypothesis six ];

View File

@@ -6,14 +6,14 @@
buildPythonPackage rec {
pname = "xdis";
version = "4.2.1";
version = "4.2.2";
disabled = isPy27;
src = fetchFromGitHub {
owner = "rocky";
repo = "python-xdis";
rev = version;
sha256 = "19mnx746k9ls2f1321fl8nkps7x9by80f753f3c5wh1j91zivq6b";
sha256 = "0d286myx6z6cbih77h8z5p9vscxvww3gy59lmi1w6y2nq6c8sqzb";
};
checkInputs = [ pytest ];
@@ -27,6 +27,5 @@ buildPythonPackage rec {
description = "Python cross-version byte-code disassembler and marshal routines";
homepage = https://github.com/rocky/python-xdis/;
license = licenses.gpl2;
broken = true; # doesn't support latest python3 interpreters
};
}

View File

@@ -0,0 +1,26 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, pytest, which, lrzsz }:
buildPythonPackage rec {
pname = "xmodem";
version = "0.4.5";
src = fetchFromGitHub {
owner = "tehmaze";
repo = "xmodem";
rev = version;
sha256 = "0nz2gxwaq3ys1knpw6zlz3xrc3ziambcirg3fmp3nvzjdq8ma3h0";
};
checkInputs = [ pytest which lrzsz ];
checkPhase = ''
pytest
'';
meta = with stdenv.lib; {
description = "Pure python implementation of the XMODEM protocol";
maintainers = with maintainers; [ emantor ];
homepage = https://github.com/tehmaze/xmodem;
license = licenses.mit;
};
}