python.pkgs.chai: move to separate expression
This commit is contained in:
parent
76c4ec7519
commit
3182658a4f
16
pkgs/development/python-modules/chai/default.nix
Normal file
16
pkgs/development/python-modules/chai/default.nix
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "chai";
|
||||||
|
version = "1.1.1";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "016kf3irrclpkpvcm7q0gmkfibq7jgy30a9v73pp42bq9h9a32bl";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Mocking, stubbing and spying framework for python";
|
||||||
|
};
|
||||||
|
}
|
@ -619,19 +619,7 @@ in {
|
|||||||
|
|
||||||
area53 = callPackage ../development/python-modules/area53 { };
|
area53 = callPackage ../development/python-modules/area53 { };
|
||||||
|
|
||||||
chai = buildPythonPackage rec {
|
chai = callPackage ../development/python-modules/chai { };
|
||||||
name = "chai-${version}";
|
|
||||||
version = "1.1.1";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/c/chai/${name}.tar.gz";
|
|
||||||
sha256 = "016kf3irrclpkpvcm7q0gmkfibq7jgy30a9v73pp42bq9h9a32bl";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Mocking, stubbing and spying framework for python";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
chainmap = buildPythonPackage rec {
|
chainmap = buildPythonPackage rec {
|
||||||
name = "chainmap-1.0.2";
|
name = "chainmap-1.0.2";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user