Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
654 B · 30 lines
Nix
12345678910111213141516171819202122232425262728293031{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook,}:
buildPythonPackage rec { pname = "oncalendar"; version = "1.1"; format = "setuptools";
src = fetchFromGitHub { owner = "cuu508"; repo = "oncalendar"; tag = "v${version}"; hash = "sha256-MPKzC2QYA3tWxg19URKheAbPaiS0jXP96xR0Hyl58V0="; };
nativeBuildInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "oncalendar" ];
meta = with lib; { description = "Systemd OnCalendar expression parser and evaluator"; homepage = "https://github.com/cuu508/oncalendar"; license = licenses.bsd3; maintainers = with maintainers; [ phaer ]; };}