about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-27 10:11:44 -0400
committerChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-30 00:50:47 -0400
commit65758006d29c871a215eb58ce5d0e3cd19727849 (patch)
treee8dc8e7bd4c82a97b807cadce48c48b6ca2963c6 /pkgs/development/python-modules
parentab08ef1f4d00239ee1c556d1d13708b336835a4e (diff)
downloadnixlib-65758006d29c871a215eb58ce5d0e3cd19727849.tar
nixlib-65758006d29c871a215eb58ce5d0e3cd19727849.tar.gz
nixlib-65758006d29c871a215eb58ce5d0e3cd19727849.tar.bz2
nixlib-65758006d29c871a215eb58ce5d0e3cd19727849.tar.lz
nixlib-65758006d29c871a215eb58ce5d0e3cd19727849.tar.xz
nixlib-65758006d29c871a215eb58ce5d0e3cd19727849.tar.zst
nixlib-65758006d29c871a215eb58ce5d0e3cd19727849.zip
pythonPackages.smartdc: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/smartdc/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/smartdc/default.nix b/pkgs/development/python-modules/smartdc/default.nix
new file mode 100644
index 000000000000..e22c99651e63
--- /dev/null
+++ b/pkgs/development/python-modules/smartdc/default.nix
@@ -0,0 +1,25 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, requests
+, http_signature
+}:
+
+buildPythonPackage rec {
+  pname = "smartdc";
+  version = "0.1.12";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "36206f4fddecae080c66faf756712537e650936b879abb23a8c428731d2415fe";
+  };
+
+  propagatedBuildInputs = [ requests http_signature ];
+
+  meta = with stdenv.lib; {
+    description = "Joyent SmartDataCenter CloudAPI connector using http-signature authentication via Requests";
+    homepage = https://github.com/atl/py-smartdc;
+    license = licenses.mit;
+  };
+
+}