My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/georss-client/default.nix

47 lines
874 B

{ lib
, buildPythonPackage
, dateparser
, fetchFromGitHub
, haversine
, pytestCheckHook
, pythonOlder
, requests
, xmltodict
}:
buildPythonPackage rec {
pname = "georss-client";
version = "0.15";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-georss-client";
rev = "v${version}";
sha256 = "sha256-D1ggfEDU+vlFmi1USwdHj1due0PrCQCpKF4zaarHCFs=";
};
propagatedBuildInputs = [
haversine
xmltodict
requests
dateparser
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"georss_client"
];
meta = with lib; {
description = "Python library for accessing GeoRSS feeds";
homepage = "https://github.com/exxamalte/python-georss-client";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}