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