diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-28 11:12:03 -0400 |
---|---|---|
committer | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-30 00:50:52 -0400 |
commit | f80a8fe3ecf782ce1a45d1c915714fe05c3cc9dc (patch) | |
tree | 58390ba0a45af15afa2a1bda8462072b8c1cf539 /pkgs/development/python-modules | |
parent | a7dac03113c05214ef40c0a0bbcb587edb0f1be6 (diff) |
pythonPackages.freezegun: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/freezegun/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/freezegun/default.nix b/pkgs/development/python-modules/freezegun/default.nix new file mode 100644 index 0000000000000..3be87da2f8242 --- /dev/null +++ b/pkgs/development/python-modules/freezegun/default.nix @@ -0,0 +1,28 @@ +{ 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; + }; + +} |