Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 dateparser, 5 fetchFromGitHub, 6 georss-client, 7 pytestCheckHook, 8 pythonOlder, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "georss-ign-sismologia-client"; 14 version = "0.8"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchFromGitHub { 20 owner = "exxamalte"; 21 repo = "python-georss-ign-sismologia-client"; 22 tag = "v${version}"; 23 hash = "sha256-geIxF4GumxRoetJ6mIZCzI3pAvWjJJoY66aQYd2Mzik="; 24 }; 25 26 nativeBuildInputs = [ setuptools ]; 27 28 propagatedBuildInputs = [ 29 dateparser 30 georss-client 31 ]; 32 33 nativeCheckInputs = [ pytestCheckHook ]; 34 35 pythonImportsCheck = [ "georss_ign_sismologia_client" ]; 36 37 meta = with lib; { 38 description = "Python library for accessing the IGN Sismologia GeoRSS feed"; 39 homepage = "https://github.com/exxamalte/python-georss-ign-sismologia-client"; 40 changelog = "https://github.com/exxamalte/python-georss-ign-sismologia-client/blob/v0.6/CHANGELOG.md"; 41 license = with licenses; [ asl20 ]; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}