Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "auroranoaa"; 10 version = "0.0.3"; 11 disabled = pythonOlder "3.6"; 12 13 src = fetchFromGitHub { 14 owner = "djtimca"; 15 repo = "aurora-api"; 16 rev = version; 17 hash = "sha256-ho0O5aEHCKaTuWh2eW2kY5a7dVGIGBLm4nKxAMq0bZ4="; 18 }; 19 20 propagatedBuildInputs = [ aiohttp ]; 21 22 # Project has no tests 23 doCheck = false; 24 pythonImportsCheck = [ "auroranoaa" ]; 25 26 meta = with lib; { 27 description = "Python wrapper for the Aurora API"; 28 homepage = "https://github.com/djtimca/aurora-api"; 29 license = with licenses; [ asl20 ]; 30 maintainers = with maintainers; [ fab ]; 31 }; 32}