nixpkgs/pkgs/development/python-modules/rova/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
730 B
Nix
Raw Normal View History

2022-04-16 20:21:10 +00:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "rova";
version = "0.3.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "GidoHakvoort";
repo = pname;
rev = "v${version}";
hash = "sha256-TLL9Ta+7Xd55hGTTXjc6CBMj+tW1LpFrprpsnGqZvkQ=";
};
propagatedBuildInputs = [
requests
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"rova"
];
meta = with lib; {
description = "Module to access for ROVA calendars";
homepage = "https://github.com/GidoHakvoort/rova";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}