mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
python2.pkgs.aniso8601: add optional mock dependency
This commit is contained in:
parent
e78eae37cb
commit
d3ab656d87
@ -1,5 +1,5 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, dateutil }:
|
||||
, dateutil, mock, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aniso8601";
|
||||
@ -13,6 +13,8 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ dateutil ];
|
||||
|
||||
checkInputs = stdenv.lib.optional (!isPy3k) mock;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1x49k287ky1spv3msc9fwmc7ydyw6rlcr14nslgcmpjfn3pgzh03";
|
||||
|
Loading…
Reference in New Issue
Block a user