1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/freezegun/default.nix

30 lines
568 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, dateutil
, six
, mock
, nose
2019-06-09 11:25:38 +01:00
, pytest
}:
buildPythonPackage rec {
pname = "freezegun";
2019-05-30 07:49:50 +01:00
version = "0.3.12";
src = fetchPypi {
inherit pname version;
2019-05-30 07:49:50 +01:00
sha256 = "2a4d9c8cd3c04a201e20c313caf8b6338f1cfa4cda43f46a94cc4a9fd13ea5e7";
};
propagatedBuildInputs = [ dateutil six ];
2019-06-09 11:25:38 +01:00
checkInputs = [ mock nose pytest ];
meta = with stdenv.lib; {
description = "FreezeGun: Let your Python tests travel through time";
homepage = "https://github.com/spulec/freezegun";
license = licenses.asl20;
};
}