python.pkgs.nose-exclude: move expression
This commit is contained in:
parent
b35a257dfd
commit
4ad0e0da32
25
pkgs/development/python-modules/nose-exclude/default.nix
Normal file
25
pkgs/development/python-modules/nose-exclude/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nose-exclude";
|
||||
version = "0.5.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f78fa8b41eeb815f0486414f710f1eea0949e346cfb11d59ba6295ed69e84304";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ nose ];
|
||||
|
||||
meta = {
|
||||
license = lib.licenses.lgpl21;
|
||||
description = "Exclude specific directories from nosetests runs";
|
||||
homepage = https://github.com/kgrandis/nose-exclude;
|
||||
maintainers = with lib.maintainers; [ fridh ];
|
||||
};
|
||||
}
|
@ -12862,25 +12862,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
nose-exclude = buildPythonPackage rec {
|
||||
name = "nose-exclude-${version}";
|
||||
version = "0.5.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/n/nose-exclude/${name}.tar.gz";
|
||||
sha256 = "f78fa8b41eeb815f0486414f710f1eea0949e346cfb11d59ba6295ed69e84304";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ nose ];
|
||||
|
||||
meta = {
|
||||
license = licenses.lgpl21;
|
||||
description = "Exclude specific directories from nosetests runs";
|
||||
homepage = https://github.com/kgrandis/nose-exclude;
|
||||
maintainers = with maintainers; [ fridh ];
|
||||
};
|
||||
|
||||
};
|
||||
nose-exclude = callPackage ../development/python-modules/nose-exclude { };
|
||||
|
||||
nose-selecttests = buildPythonPackage rec {
|
||||
version = "0.4";
|
||||
|
Loading…
Reference in New Issue
Block a user