Files
nixpkgs/pkgs/development/python-modules/mergecal/default.nix

49 lines
902 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
icalendar,
rich,
typer,
x-wr-timezone,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "mergecal";
version = "0.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mergecal";
repo = "python-mergecal";
tag = "v${version}";
hash = "sha256-Je3gFREu97Ycofszhr6pKOCiK76oBuzb3ji4LAf5aE8=";
};
build-system = [ setuptools ];
dependencies = [
icalendar
rich
typer
x-wr-timezone
];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "mergecal" ];
meta = {
homepage = "https://mergecal.readthedocs.io/en/latest/";
changelog = "https://github.com/mergecal/python-mergecal/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ erictapen ];
};
}