pythonPAckages.repeated_test: refactor move to python-modules
This commit is contained in:
parent
f310c74cfd
commit
8e22218220
26
pkgs/development/python-modules/repeated_test/default.nix
Normal file
26
pkgs/development/python-modules/repeated_test/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, unittest2
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "repeated_test";
|
||||
version = "0.1a3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "062syp7kl2g0x6qx3z8zb5sdycpi7qcpxp9iml2v8dqzqnij9bpg";
|
||||
};
|
||||
|
||||
buildInputs = [ unittest2 ];
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A quick unittest-compatible framework for repeating a test function over many fixtures";
|
||||
homepage = "https://github.com/epsy/repeated_test";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
|
@ -4549,28 +4549,7 @@ in {
|
|||
|
||||
htmltreediff = callPackage ../development/python-modules/htmltreediff { };
|
||||
|
||||
repeated_test = buildPythonPackage rec {
|
||||
name = "repeated_test-${version}";
|
||||
version = "0.1a3";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/r/repeated-test/${name}.tar.gz";
|
||||
sha256 = "062syp7kl2g0x6qx3z8zb5sdycpi7qcpxp9iml2v8dqzqnij9bpg";
|
||||
};
|
||||
|
||||
buildInputs = with self; [
|
||||
unittest2
|
||||
];
|
||||
propagatedBuildInputs = with self; [
|
||||
six
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A quick unittest-compatible framework for repeating a test function over many fixtures";
|
||||
homepage = "https://github.com/epsy/repeated_test";
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
repeated_test = callPackage ../development/python-modules/repeated_test { };
|
||||
|
||||
Keras = callPackage ../development/python-modules/keras { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue