python.pkgs.chai: move to separate expression

This commit is contained in:
wisut hantanong 2017-07-28 15:45:24 +07:00
parent 76c4ec7519
commit 3182658a4f
2 changed files with 17 additions and 13 deletions

View 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";
};
}

View file

@ -619,19 +619,7 @@ in {
area53 = callPackage ../development/python-modules/area53 { };
chai = buildPythonPackage rec {
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";
};
};
chai = callPackage ../development/python-modules/chai { };
chainmap = buildPythonPackage rec {
name = "chainmap-1.0.2";