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

31 lines
567 B
Nix
Raw Normal View History

{ lib
2020-12-02 00:40:51 +00:00
, buildPythonPackage
, fetchPypi
, isPy27
, dateutil
, six
, mock
, nose
, pytest
}:
buildPythonPackage rec {
pname = "freezegun";
version = "0.3.15";
2020-12-02 00:40:51 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "e2062f2c7f95cc276a834c22f1a17179467176b624cc6f936e8bc3be5535ad1b";
2020-12-02 00:40:51 +00:00
};
propagatedBuildInputs = [ dateutil six ];
checkInputs = [ mock nose pytest ];
meta = with lib; {
2020-12-02 00:40:51 +00:00
description = "FreezeGun: Let your Python tests travel through time";
homepage = "https://github.com/spulec/freezegun";
license = licenses.asl20;
};
}