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