about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pydelijn
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-05-16 00:25:16 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-05-16 00:25:16 +0200
commit00df27fb041f211586b0ddd50187ffb01aadb4b7 (patch)
tree97fc46f91cbc625c82d5bcedf84401dcb01929a8 /pkgs/development/python-modules/pydelijn
parent06d8a6f99dbef33e5ad1b9f2286a924746f3ebbd (diff)
python3Packages.pydelijn: init at 0.6.1
Diffstat (limited to 'pkgs/development/python-modules/pydelijn')
-rw-r--r--pkgs/development/python-modules/pydelijn/default.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pydelijn/default.nix b/pkgs/development/python-modules/pydelijn/default.nix
new file mode 100644
index 0000000000000..08a3bf8236117
--- /dev/null
+++ b/pkgs/development/python-modules/pydelijn/default.nix
@@ -0,0 +1,37 @@
+{ lib
+, aiohttp
+, async-timeout
+, buildPythonPackage
+, fetchPypi
+, pythonOlder
+, pytz
+}:
+
+buildPythonPackage rec {
+  pname = "pydelijn";
+  version = "0.6.1";
+  disabled = pythonOlder "3.6";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1lwd2f043hy7gf1ly9zpaq1yg947bqw2af8vhwssf48zpisfgc81";
+  };
+
+  propagatedBuildInputs = [
+    aiohttp
+    async-timeout
+    pytz
+  ];
+
+  # Project has no tests
+  doCheck = false;
+
+  pythonImportsCheck = [ "pydelijn" ];
+
+  meta = with lib; {
+    description = "Python package to retrieve realtime data of passages at stops of De Lijn";
+    homepage = "https://github.com/bollewolle/pydelijn";
+    license = licenses.mit;
+    maintainers = with maintainers; [ fab ];
+  };
+}