about summary refs log tree commit diff
path: root/pkgs/development/python-modules/lazr-restfulclient
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-02-22 04:22:00 -0500
committerJon <jonringer@users.noreply.github.com>2020-02-28 00:06:52 -0800
commite0efde5421d310e24a87252821fa57cc3b916e00 (patch)
tree0c628bb55703968a221470626a6bf5b7cd333be5 /pkgs/development/python-modules/lazr-restfulclient
parent14780770a70a1027db6f8e32ca6d4c89fc6d2cbf (diff)
pythonPackages.lazr-restfulclient: init at 0.14.3
Diffstat (limited to 'pkgs/development/python-modules/lazr-restfulclient')
-rw-r--r--pkgs/development/python-modules/lazr-restfulclient/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/lazr-restfulclient/default.nix b/pkgs/development/python-modules/lazr-restfulclient/default.nix
new file mode 100644
index 0000000000000..93956c51b2569
--- /dev/null
+++ b/pkgs/development/python-modules/lazr-restfulclient/default.nix
@@ -0,0 +1,36 @@
+{ lib
+, buildPythonPackage
+, isPy27
+, fetchPypi
+, distro
+, httplib2
+, oauthlib
+, setuptools
+, six
+, wadllib
+}:
+
+buildPythonPackage rec {
+  pname = "lazr.restfulclient";
+  version = "0.14.3";
+
+  disabled = isPy27; # namespace is broken for python2
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "9f28bbb7c00374159376bd4ce36b4dacde7c6b86a0af625aa5e3ae214651a690";
+  };
+
+  propagatedBuildInputs = [ distro httplib2 oauthlib setuptools six wadllib ];
+
+  doCheck = false; # requires to package lazr.restful, lazr.authentication, and wsgi_intercept
+
+  pythonImportsCheck = [ "lazr.restfulclient" ];
+
+  meta = with lib; {
+    description = "A programmable client library that takes advantage of the commonalities among";
+    homepage = "https://launchpad.net/lazr.restfulclient";
+    license = licenses.lgpl3;
+    maintainers = [ maintainers.marsam ];
+  };
+}