summary refs log tree commit diff
path: root/pkgs/development/python-modules/freezegun/0.3.nix
blob: c4444805009dc57887ed921decc24a1fe9e81526 (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
29
30
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, python-dateutil
, six
, mock
, nose
, pytest
}:

buildPythonPackage rec {
  pname = "freezegun";
  version = "0.3.15";

  src = fetchPypi {
    inherit pname version;
    sha256 = "e2062f2c7f95cc276a834c22f1a17179467176b624cc6f936e8bc3be5535ad1b";
  };

  propagatedBuildInputs = [ python-dateutil six ];
  checkInputs = [ mock nose pytest ];

  meta = with lib; {
    description = "FreezeGun: Let your Python tests travel through time";
    homepage = "https://github.com/spulec/freezegun";
    license = licenses.asl20;
  };

}