depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-freezegun/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

29 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 ];
};
}