blob: 742506b6089dae0ba0700704b69c66205ab10d6c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, python-dateutil
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "freezegun";
version = "1.1.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "177f9dd59861d871e27a484c3332f35a6e3f5d14626f2bf91be37891f18927f3";
};
propagatedBuildInputs = [ python-dateutil ];
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "FreezeGun: Let your Python tests travel through time";
homepage = "https://github.com/spulec/freezegun";
license = licenses.asl20;
};
}
|