Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 georss-client, 6 pytestCheckHook, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "georss-wa-dfes-client"; 12 version = "0.4"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "exxamalte"; 19 repo = "python-georss-wa-dfes-client"; 20 rev = "v${version}"; 21 hash = "sha256-s7qGTlWFdOtw0eMK7idld7HPOxO8CjODCmUi0WmRLdI="; 22 }; 23 24 propagatedBuildInputs = [ georss-client ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "georss_wa_dfes_client" ]; 29 30 meta = with lib; { 31 description = "Python library for accessing WA Department of Fire and Emergency Services (DFES) feed"; 32 homepage = "https://github.com/exxamalte/python-georss-wa-dfes-client"; 33 license = with licenses; [ asl20 ]; 34 maintainers = with maintainers; [ fab ]; 35 }; 36}