Merge pull request #34589 from Ma27/package-pybase64

pythonPackages.pybase64: init at 0.2.1
This commit is contained in:
Frederik Rietdijk 2018-02-05 13:13:12 +00:00 committed by GitHub
commit 422f99b9a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 62 additions and 20 deletions

View File

@ -1,6 +1,6 @@
{ stdenv, fetchPypi, buildPythonPackage, nose, six, glibcLocales, isPy3k }:
{ fetchPypi, parameterized }:
buildPythonPackage rec {
parameterized.overrideAttrs (o: rec {
pname = "nose-parameterized";
version = "0.6.0";
@ -8,20 +8,4 @@ buildPythonPackage rec {
inherit pname version;
sha256 = "1khlabgib4161vn6alxsjaa8javriywgx9vydddi659gp9x6fpnk";
};
# Tests require some python3-isms but code works without.
doCheck = isPy3k;
buildInputs = [ nose glibcLocales ];
propagatedBuildInputs = [ six ];
checkPhase = ''
LC_ALL="en_US.UTF-8" nosetests -v
'';
meta = with stdenv.lib; {
description = "Parameterized testing with any Python test framework";
homepage = https://pypi.python.org/pypi/nose-parameterized;
license = licenses.bsd3;
};
}
})

View File

@ -0,0 +1,28 @@
{ stdenv, fetchPypi, buildPythonPackage, nose, six, glibcLocales, isPy3k }:
buildPythonPackage rec {
pname = "parameterized";
version = "0.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "1qj1939shm48d9ql6fm1nrdy4p7sdyj8clz1szh5swwpf1qqxxfa";
};
# Tests require some python3-isms but code works without.
doCheck = isPy3k;
checkInputs = [ nose glibcLocales ];
propagatedBuildInputs = [ six ];
checkPhase = ''
LC_ALL="en_US.UTF-8" nosetests -v
'';
meta = with stdenv.lib; {
description = "Parameterized testing with any Python test framework";
homepage = https://pypi.python.org/pypi/parameterized;
license = licenses.bsd3;
maintainers = with maintainers; [ ma27 ];
};
}

View File

@ -0,0 +1,25 @@
{ buildPythonPackage, stdenv, fetchPypi, parameterized, six, nose }:
buildPythonPackage rec {
pname = "pybase64";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "1hggg69s5r8jyqdwyzri5sn3f19p7ayl0fjhjma0qzgfp7bk6zjc";
};
propagatedBuildInputs = [ six ];
checkInputs = [ parameterized nose ];
checkPhase = ''
nosetests
'';
meta = with stdenv.lib; {
homepage = https://pypi.python.org/pypi/pybase64;
description = "Fast Base64 encoding/decoding";
license = licenses.bsd2;
maintainers = with maintainers; [ ma27 ];
};
}

View File

@ -3842,7 +3842,8 @@ in {
};
});
nose-parameterized = callPackage ../development/python-modules/nose-parameterized {};
nose-parameterized = warn "Warning: `nose-parameterized` is deprecated! Use `parameterized` instead."
(callPackage ../development/python-modules/nose-parameterized {});
neurotools = buildPythonPackage (rec {
name = "NeuroTools-${version}";
@ -12406,6 +12407,8 @@ in {
};
};
parameterized = callPackage ../development/python-modules/parameterized { };
paramz = callPackage ../development/python-modules/paramz { };
parsel = buildPythonPackage rec {
@ -12829,6 +12832,8 @@ in {
kmsxx = callPackage ../development/libraries/kmsxx { };
pybase64 = callPackage ../development/python-modules/pybase64 { };
pylibconfig2 = buildPythonPackage rec {
name = "pylibconfig2-${version}";
version = "0.2.4";