about summary refs log tree commit diff
path: root/pkgs/development/python-modules/py-tes
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-01-13 21:35:50 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2022-01-13 21:35:50 +0100
commit694e98f8a61f86fa723503e114b6fcb38d863595 (patch)
treea5e0117e853b1d83212308436b19efce344b1212 /pkgs/development/python-modules/py-tes
parent36797a3c65dbe83c5c52cb34f4fdb5bff6409a0e (diff)
python3Packages.py-tes: init at 0.4.2
Diffstat (limited to 'pkgs/development/python-modules/py-tes')
-rw-r--r--pkgs/development/python-modules/py-tes/default.nix49
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/py-tes/default.nix b/pkgs/development/python-modules/py-tes/default.nix
new file mode 100644
index 0000000000000..633dc6fa5f4a4
--- /dev/null
+++ b/pkgs/development/python-modules/py-tes/default.nix
@@ -0,0 +1,49 @@
+{ lib
+, attrs
+, buildPythonPackage
+, fetchFromGitHub
+, future
+, python-dateutil
+, pytestCheckHook
+, pythonOlder
+, requests
+, requests-mock
+}:
+
+buildPythonPackage rec {
+  pname = "py-tes";
+  version = "0.4.2";
+  format = "setuptools";
+
+  disabled = pythonOlder "3.7";
+
+  src = fetchFromGitHub {
+    owner = "ohsu-comp-bio";
+    repo = pname;
+    rev = version;
+    hash = "sha256-HZeyCQHiqfdquWQD5axS73JDjDMUieONwm5VyA+vTFk=";
+  };
+
+  propagatedBuildInputs = [
+    attrs
+    future
+    python-dateutil
+    requests
+  ];
+
+  checkInputs = [
+    pytestCheckHook
+    requests-mock
+  ];
+
+  pythonImportsCheck = [
+    "tes"
+  ];
+
+  meta = with lib; {
+    description = "Python SDK for the GA4GH Task Execution API";
+    homepage = "https://github.com/ohsu-comp-bio/py-tes";
+    license = with licenses; [ mit ];
+    maintainers = with maintainers; [ fab ];
+  };
+}