mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 16:17:48 +00:00
pythonPackages.nose2: refactor move to python-modules
This commit is contained in:
parent
9492a17e87
commit
1059d71947
26
pkgs/development/python-modules/nose2/default.nix
Normal file
26
pkgs/development/python-modules/nose2/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nose2";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0595rh6b6dncbj0jigsyrgrh6h8fsl6w1fr69h76mxv9nllv0rlr";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
# AttributeError: 'module' object has no attribute 'collector'
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "nose2 is the next generation of nicer testing for Python";
|
||||
homepage = https://github.com/nose-devs/nose2;
|
||||
license = licenses.bsd0;
|
||||
};
|
||||
|
||||
}
|
@ -2981,19 +2981,7 @@ in {
|
||||
|
||||
nose-exclude = callPackage ../development/python-modules/nose-exclude { };
|
||||
|
||||
nose2 = buildPythonPackage rec {
|
||||
name = "nose2-0.5.0";
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/n/nose2/${name}.tar.gz";
|
||||
sha256 = "0595rh6b6dncbj0jigsyrgrh6h8fsl6w1fr69h76mxv9nllv0rlr";
|
||||
};
|
||||
meta = {
|
||||
description = "nose2 is the next generation of nicer testing for Python";
|
||||
};
|
||||
propagatedBuildInputs = with self; [ six ];
|
||||
# AttributeError: 'module' object has no attribute 'collector'
|
||||
doCheck = false;
|
||||
};
|
||||
nose2 = callPackage ../development/python-modules/nose2 { };
|
||||
|
||||
nose-cover3 = buildPythonPackage rec {
|
||||
name = "nose-cover3-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user