forked from mirrors/nixpkgs
38 lines
850 B
Nix
38 lines
850 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchFromGitHub
|
||
|
, georss-client
|
||
|
, pytestCheckHook
|
||
|
, pythonOlder
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "georss-ign-sismologia-client";
|
||
|
version = "0.2";
|
||
|
disabled = pythonOlder "3.7";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "exxamalte";
|
||
|
repo = "python-georss-ign-sismologia-client";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "1xylgvbdrpl3wxa6qqc8jma4c9520rld0pv28y3b6b0m07ab6ijl";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
georss-client
|
||
|
];
|
||
|
|
||
|
checkInputs = [
|
||
|
pytestCheckHook
|
||
|
];
|
||
|
|
||
|
pythonImportsCheck = [ "georss_ign_sismologia_client" ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Python library for accessing the IGN Sismologia GeoRSS feed";
|
||
|
homepage = "https://github.com/exxamalte/python-georss-ign-sismologia-client";
|
||
|
license = with licenses; [ asl20 ];
|
||
|
maintainers = with maintainers; [ fab ];
|
||
|
};
|
||
|
}
|