at 22.05-pre 36 lines 680 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, freezegun 5, pytest 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "pytest-freezegun"; 11 version = "0.4.2"; 12 13 src = fetchFromGitHub { 14 owner = "ktosiek"; 15 repo = "pytest-freezegun"; 16 rev = version; 17 sha256 = "10c4pbh03b4s1q8cjd75lr0fvyf9id0zmdk29566qqsmaz28npas"; 18 }; 19 20 buildInputs = [ pytest ]; 21 22 propagatedBuildInputs = [ 23 freezegun 24 ]; 25 26 checkInputs = [ 27 pytestCheckHook 28 ]; 29 30 meta = with lib; { 31 description = "Wrap tests with fixtures in freeze_time"; 32 homepage = "https://github.com/ktosiek/pytest-freezegun"; 33 license = licenses.mit; 34 maintainers = [ maintainers.mic92 ]; 35 }; 36}