3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/freezegun/default.nix

29 lines
552 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, dateutil
, six
, mock
, nose
}:
buildPythonPackage rec {
pname = "freezegun";
2018-11-04 10:34:59 +00:00
version = "0.3.11";
src = fetchPypi {
inherit pname version;
2018-11-04 10:34:59 +00:00
sha256 = "e839b43bfbe8158b4d62bb97e6313d39f3586daf48e1314fb1083d2ef17700da";
};
propagatedBuildInputs = [ dateutil six ];
checkInputs = [ mock nose ];
meta = with stdenv.lib; {
description = "FreezeGun: Let your Python tests travel through time";
homepage = "https://github.com/spulec/freezegun";
license = licenses.asl20;
};
}