pytest-freezgun: init at 0.4.1

This commit is contained in:
Jörg Thalheim 2020-06-25 10:24:00 +01:00
parent ec1d9c63d7
commit 73e514993a
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92
2 changed files with 31 additions and 0 deletions

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, freezegun
, pytest
}:
buildPythonPackage rec {
pname = "pytest-freezegun";
version = "0.4.1";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "060cdf192848e50a4a681a5e73f8b544c4ee5ebc1fab3cb7223a0097bac2f83f";
};
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 ];
};
}

@ -950,6 +950,8 @@ in {
mpi = pkgs.openmpi;
};
pytest-freezegun = callPackage ../development/python-modules/pytest-freezegun { };
python-baseconv = callPackage ../development/python-modules/python-baseconv { };
pycognito = callPackage ../development/python-modules/pycognito { };