Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 requests, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "rova"; 12 version = "0.4.1"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "GidoHakvoort"; 19 repo = "rova"; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-y73Vf/E2xDy+2vnvZEllRUgsDfX33Q7AsL/UY2pR1sI="; 22 }; 23 24 nativeBuildInputs = [ setuptools ]; 25 26 propagatedBuildInputs = [ requests ]; 27 28 # Module has no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ "rova" ]; 32 33 meta = with lib; { 34 description = "Module to access for ROVA calendars"; 35 homepage = "https://github.com/GidoHakvoort/rova"; 36 changelog = "https://github.com/GidoHakvoort/rova/releases/tag/v${version}"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}