at 23.05-pre 730 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, pythonOlder 6, requests 7}: 8 9buildPythonPackage rec { 10 pname = "rova"; 11 version = "0.3.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "GidoHakvoort"; 18 repo = pname; 19 rev = "v${version}"; 20 hash = "sha256-TLL9Ta+7Xd55hGTTXjc6CBMj+tW1LpFrprpsnGqZvkQ="; 21 }; 22 23 propagatedBuildInputs = [ 24 requests 25 ]; 26 27 # Module has no tests 28 doCheck = false; 29 30 pythonImportsCheck = [ 31 "rova" 32 ]; 33 34 meta = with lib; { 35 description = "Module to access for ROVA calendars"; 36 homepage = "https://github.com/GidoHakvoort/rova"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}