pythonPackages.ddt: refactor move to python-modules
This commit is contained in:
parent
48e807cf9f
commit
e1a948388a
21
pkgs/development/python-modules/ddt/default.nix
Normal file
21
pkgs/development/python-modules/ddt/default.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "ddt";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "e24ecb7e2cf0bf43fa9d4255d3ae2bd0b7ce30b1d1b89ace7aa68aca1152f37a";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Data-Driven/Decorated Tests, a library to multiply test cases";
|
||||||
|
homepage = https://github.com/txels/ddt;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2209,22 +2209,7 @@ in {
|
|||||||
|
|
||||||
chameleon = callPackage ../development/python-modules/chameleon { };
|
chameleon = callPackage ../development/python-modules/chameleon { };
|
||||||
|
|
||||||
ddt = buildPythonPackage (rec {
|
ddt = callPackage ../development/python-modules/ddt { };
|
||||||
name = "ddt-1.0.0";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/d/ddt/${name}.tar.gz";
|
|
||||||
sha256 = "e24ecb7e2cf0bf43fa9d4255d3ae2bd0b7ce30b1d1b89ace7aa68aca1152f37a";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Data-Driven/Decorated Tests, a library to multiply test cases";
|
|
||||||
|
|
||||||
homepage = https://github.com/txels/ddt;
|
|
||||||
|
|
||||||
license = licenses.mit;
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
descartes = callPackage ../development/python-modules/descartes { };
|
descartes = callPackage ../development/python-modules/descartes { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user