summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/aio-georss-gdacs
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-06-05 16:50:55 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-06-05 16:50:55 +0200
commitd41f5965fcf3fa25dc60128c488f2e98fc5ccfc4 (patch)
tree973f122c1a6f699901d467b59343c341307f1d88 /pkgs/development/python-modules/aio-georss-gdacs
parent1fec3aeff86052a6e411675b03e76ababc97f9c6 (diff)
python3Packages.aio-georss-gdacs: init at 0.4
Diffstat (limited to 'pkgs/development/python-modules/aio-georss-gdacs')
-rw-r--r--pkgs/development/python-modules/aio-georss-gdacs/default.nix43
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aio-georss-gdacs/default.nix b/pkgs/development/python-modules/aio-georss-gdacs/default.nix
new file mode 100644
index 000000000000..75894aa0e7a7
--- /dev/null
+++ b/pkgs/development/python-modules/aio-georss-gdacs/default.nix
@@ -0,0 +1,43 @@
+{ lib
+, aio-georss-client
+, aresponses
+, buildPythonPackage
+, dateparser
+, fetchFromGitHub
+, pytest-asyncio
+, pytestCheckHook
+, pythonOlder
+}:
+
+buildPythonPackage rec {
+ pname = "aio-georss-gdacs";
+ version = "0.4";
+ disabled = pythonOlder "3.7";
+
+ src = fetchFromGitHub {
+ owner = "exxamalte";
+ repo = "python-aio-georss-gdacs";
+ rev = "v${version}";
+ sha256 = "0rcrhdpgj84hfifx9rzxz15ajzsk069iknb28gicw1cm1qv4vfxm";
+ };
+
+ propagatedBuildInputs = [
+ aio-georss-client
+ dateparser
+ ];
+
+ checkInputs = [
+ aresponses
+ pytest-asyncio
+ pytestCheckHook
+ ];
+
+ pythonImportsCheck = [ "aio_georss_gdacs" ];
+
+ meta = with lib; {
+ description = "Python library for accessing GeoRSS feeds";
+ homepage = "https://github.com/exxamalte/python-aio-georss-gdacs";
+ license = with licenses; [ asl20 ];
+ maintainers = with maintainers; [ fab ];
+ };
+}