1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/pytest-freezegun/default.nix
2020-08-04 21:54:54 +02:00

30 lines
577 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, freezegun
, pytest
}:
buildPythonPackage rec {
pname = "pytest-freezegun";
version = "0.4.2";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "19c82d5633751bf3ec92caa481fb5cffaac1787bd485f0df6436fd6242176949";
};
propagatedBuildInputs = [
freezegun
pytest
];
meta = with lib; {
description = "Wrap tests with fixtures in freeze_time";
homepage = "https://github.com/ktosiek/pytest-freezegun";
license = licenses.mit;
maintainers = [ maintainers.mic92 ];
};
}