mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
29 lines
539 B
Nix
29 lines
539 B
Nix
{ 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;
|
|
};
|
|
|
|
}
|