python3Packages.ics: fix build
This commit is contained in:
parent
0c3cfd5c07
commit
503ca8f788
@ -6,6 +6,7 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ics";
|
pname = "ics";
|
||||||
version = "0.6";
|
version = "0.6";
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "C4ptainCrunch";
|
owner = "C4ptainCrunch";
|
||||||
@ -15,9 +16,16 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ tatsu arrow ];
|
propagatedBuildInputs = [ tatsu arrow ];
|
||||||
checkInputs = [ pytest-sugar pytestpep8 pytest-flakes pytestcov ];
|
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
postPatch = ''
|
||||||
|
substituteInPlace requirements.txt \
|
||||||
|
--replace "arrow>=0.11,<0.15" "arrow"
|
||||||
|
'';
|
||||||
|
|
||||||
|
checkInputs = [ pytest-sugar pytestpep8 pytest-flakes pytestcov ];
|
||||||
|
checkPhase = ''
|
||||||
|
pytest
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Pythonic and easy iCalendar library (RFC 5545)";
|
description = "Pythonic and easy iCalendar library (RFC 5545)";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user