pythonPackages.ddt: refactor move to python-modules
This commit is contained in:
parent
48e807cf9f
commit
e1a948388a
2 changed files with 22 additions and 16 deletions
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 { };
|
||||
|
||||
ddt = buildPythonPackage (rec {
|
||||
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;
|
||||
};
|
||||
});
|
||||
ddt = callPackage ../development/python-modules/ddt { };
|
||||
|
||||
descartes = callPackage ../development/python-modules/descartes { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue