pythonPackages.freezegun: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-28 11:12:03 -04:00
parent a7dac03113
commit f80a8fe3ec
2 changed files with 29 additions and 20 deletions

View File

@@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, dateutil
, six
, mock
, nose
}:
buildPythonPackage rec {
pname = "freezegun";
version = "0.3.8";
src = fetchPypi {
inherit pname version;
sha256 = "1sf38d3ibv1jhhvr52x7dhrsiyqk1hm165dfv8w8wh0fhmgxg151";
};
propagatedBuildInputs = [ dateutil six ];
buildInputs = [ mock nose ];
meta = with stdenv.lib; {
description = "FreezeGun: Let your Python tests travel through time";
homepage = "https://github.com/spulec/freezegun";
license = licenses.asl20;
};
}