python311Packages.icalevents: init at 0.1.27
This commit is contained in:
parent
aad343d879
commit
969f3a45ab
59
pkgs/development/python-modules/icalevents/default.nix
Normal file
59
pkgs/development/python-modules/icalevents/default.nix
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pythonOlder
|
||||||
|
, pytestCheckHook
|
||||||
|
, poetry-core
|
||||||
|
, datetime
|
||||||
|
, httplib2
|
||||||
|
, icalendar
|
||||||
|
, python-dateutil
|
||||||
|
, pytz
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "icalevents";
|
||||||
|
version = "0.1.27";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jazzband";
|
||||||
|
repo = pname;
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-vSYQEJFBjXUF4WwEAtkLtcO3y/am00jGS+8Vj+JMMqQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
poetry-core
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
datetime
|
||||||
|
httplib2
|
||||||
|
icalendar
|
||||||
|
python-dateutil
|
||||||
|
pytz
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# Makes HTTP calls
|
||||||
|
"test_events_url"
|
||||||
|
"test_events_async_url"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "icalevents" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
changelog = "https://github.com/jazzband/icalevents/releases/tag/v${version}";
|
||||||
|
description = "Python module for iCal URL/file parsing and querying";
|
||||||
|
homepage = "https://github.com/jazzband/icalevents";
|
||||||
|
maintainers = with maintainers; [ jamiemagee ];
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
@ -5345,6 +5345,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
icalendar = callPackage ../development/python-modules/icalendar { };
|
icalendar = callPackage ../development/python-modules/icalendar { };
|
||||||
|
|
||||||
|
icalevents = callPackage ../development/python-modules/icalevents { };
|
||||||
|
|
||||||
icecream = callPackage ../development/python-modules/icecream { };
|
icecream = callPackage ../development/python-modules/icecream { };
|
||||||
|
|
||||||
iceportal = callPackage ../development/python-modules/iceportal { };
|
iceportal = callPackage ../development/python-modules/iceportal { };
|
||||||
|
Loading…
Reference in New Issue
Block a user