python3Packages.freezegun: 1.0.0 -> 1.1.0

This commit is contained in:
Robert Schütz 2021-01-24 11:47:55 +01:00
parent e975b75082
commit 6ab446cf9e

View file

@ -1,29 +1,23 @@
{ lib, stdenv
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, isPy27
, dateutil
, six
, mock
, nose
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "freezegun";
version = "1.0.0";
version = "1.1.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "1cf08e441f913ff5e59b19cc065a8faa9dd1ddc442eaf0375294f344581a0643";
sha256 = "177f9dd59861d871e27a484c3332f35a6e3f5d14626f2bf91be37891f18927f3";
};
propagatedBuildInputs = [ dateutil six ];
checkInputs = [ mock nose pytest ];
# contains python3 specific code
doCheck = !isPy27;
propagatedBuildInputs = [ dateutil ];
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "FreezeGun: Let your Python tests travel through time";