python.pkgs.nose-parameterized: 0.5.0 -> 0.6.0
This commit is contained in:
parent
fa3d1c5dfb
commit
b880ef935a
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, fetchPypi, buildPythonPackage, nose, six, glibcLocales, isPy3k }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "nose-parameterized";
|
||||||
|
version = "0.6.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
}
|
@ -3947,33 +3947,7 @@ in {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
nose-parameterized = buildPythonPackage (rec {
|
nose-parameterized = callPackage ../development/python-modules/nose-parameterized {};
|
||||||
name = "nose-parameterized-${version}";
|
|
||||||
version = "0.5.0";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/n/nose-parameterized/${name}.tar.gz";
|
|
||||||
sha256 = "a11c41b0cf8218e7cdc19ab7a1bdf5c141d161cd2350daee819473cc63cd0685";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Tests require some python3-isms but code works without.
|
|
||||||
doCheck = isPy3k;
|
|
||||||
|
|
||||||
LC_ALL = "en_US.UTF-8";
|
|
||||||
buildInputs = with self; [ nose pkgs.glibcLocales ];
|
|
||||||
propagatedBuildInputs = with self; [ self.six ];
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
nosetests -v
|
|
||||||
'';
|
|
||||||
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Parameterized testing with any Python test framework";
|
|
||||||
homepage = https://pypi.python.org/pypi/nose-parameterized;
|
|
||||||
license = licenses.bsd3;
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
neurotools = buildPythonPackage (rec {
|
neurotools = buildPythonPackage (rec {
|
||||||
name = "NeuroTools-${version}";
|
name = "NeuroTools-${version}";
|
||||||
@ -17752,7 +17726,7 @@ in {
|
|||||||
tiros = callPackage ../development/python-modules/tiros { };
|
tiros = callPackage ../development/python-modules/tiros { };
|
||||||
|
|
||||||
tifffile = callPackage ../development/python-modules/tifffile { };
|
tifffile = callPackage ../development/python-modules/tifffile { };
|
||||||
|
|
||||||
# Tkinter/tkinter is part of the Python standard library.
|
# Tkinter/tkinter is part of the Python standard library.
|
||||||
# The Python interpreters in Nixpkgs come without tkinter by default.
|
# The Python interpreters in Nixpkgs come without tkinter by default.
|
||||||
# To make the module available, we make it available as any other
|
# To make the module available, we make it available as any other
|
||||||
|
Loading…
x
Reference in New Issue
Block a user