pythonPackages.testscenarios: refactor move to python-modules
This commit is contained in:
parent
9ed9014ab5
commit
8a9d7350d8
24
pkgs/development/python-modules/testscenarios/default.nix
Normal file
24
pkgs/development/python-modules/testscenarios/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, testtools
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "testscenarios";
|
||||||
|
version = "0.4";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1671jvrvqlmbnc42j7pc5y6vc37q44aiwrq0zic652pxyy2fxvjg";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ testtools ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A pyunit extension for dependency injection";
|
||||||
|
homepage = https://pypi.python.org/pypi/testscenarios;
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -3947,23 +3947,7 @@ in {
|
|||||||
|
|
||||||
terminaltables = callPackage ../development/python-modules/terminaltables { };
|
terminaltables = callPackage ../development/python-modules/terminaltables { };
|
||||||
|
|
||||||
testscenarios = buildPythonPackage rec {
|
testscenarios = callPackage ../development/python-modules/testscenarios { };
|
||||||
name = "testscenarios-${version}";
|
|
||||||
version = "0.4";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/t/testscenarios/${name}.tar.gz";
|
|
||||||
sha256 = "1671jvrvqlmbnc42j7pc5y6vc37q44aiwrq0zic652pxyy2fxvjg";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ testtools ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A pyunit extension for dependency injection";
|
|
||||||
homepage = https://pypi.python.org/pypi/testscenarios;
|
|
||||||
license = licenses.asl20;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
testpath = buildPythonPackage rec {
|
testpath = buildPythonPackage rec {
|
||||||
pname = "testpath";
|
pname = "testpath";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user