mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
python3Packages.freezegun: 1.0.0 -> 1.1.0
This commit is contained in:
parent
e975b75082
commit
6ab446cf9e
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user