pythonPackages.oncalendar: init at 1.0
This commit is contained in:
parent
433b839ab9
commit
689c9db916
|
@ -0,0 +1,30 @@
|
|||
{ lib
|
||||
, python
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "oncalendar";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cuu508";
|
||||
repo = "oncalendar";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-eQYxOnL4/TJbY/nijcPl8TqK2MrwcdISKGfZQoI7828=";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} setup.py test
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "oncalendar" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A systemd OnCalendar expression parser and evaluator";
|
||||
homepage = "https://github.com/cuu508/oncalendar";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ phaer ];
|
||||
};
|
||||
}
|
|
@ -8955,6 +8955,8 @@ self: super: with self; {
|
|||
|
||||
omrdatasettools = callPackage ../development/python-modules/omrdatasettools { };
|
||||
|
||||
oncalendar = callPackage ../development/python-modules/oncalendar { };
|
||||
|
||||
ondilo = callPackage ../development/python-modules/ondilo { };
|
||||
|
||||
onetimepass = callPackage ../development/python-modules/onetimepass { };
|
||||
|
|
Loading…
Reference in New Issue