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