2021-06-05 14:47:02 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, georss-client
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "georss-generic-client";
|
2021-06-12 14:09:57 +01:00
|
|
|
version = "0.6";
|
2021-06-05 14:47:02 +01:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "exxamalte";
|
|
|
|
repo = "python-georss-generic-client";
|
|
|
|
rev = "v${version}";
|
2021-06-12 14:09:57 +01:00
|
|
|
sha256 = "sha256-XVejBbVilq8zrmuyBUd0mNPZ4qysSg9lAe/lhbKT+qs=";
|
2021-06-05 14:47:02 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
georss-client
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "georss_generic_client" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library for accessing generic GeoRSS feeds";
|
|
|
|
homepage = "https://github.com/exxamalte/python-georss-generic-client";
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|