depot/third_party/nixpkgs/pkgs/development/python-modules/rova/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

41 lines
866 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "rova";
version = "0.4.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "GidoHakvoort";
repo = "rova";
rev = "refs/tags/v${version}";
hash = "sha256-y73Vf/E2xDy+2vnvZEllRUgsDfX33Q7AsL/UY2pR1sI=";
};
nativeBuildInputs = [ setuptools ];
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";
changelog = "https://github.com/GidoHakvoort/rova/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}