nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 29 lines 572 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, python-dateutil 5, six 6, mock 7, nose 8, pytest 9}: 10 11buildPythonPackage rec { 12 pname = "freezegun"; 13 version = "0.3.15"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "e2062f2c7f95cc276a834c22f1a17179467176b624cc6f936e8bc3be5535ad1b"; 18 }; 19 20 propagatedBuildInputs = [ python-dateutil six ]; 21 checkInputs = [ mock nose pytest ]; 22 23 meta = with lib; { 24 description = "FreezeGun: Let your Python tests travel through time"; 25 homepage = "https://github.com/spulec/freezegun"; 26 license = licenses.asl20; 27 }; 28 29}