pythonPackages.smartdc: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-27 10:11:44 -04:00
parent ab08ef1f4d
commit 65758006d2
2 changed files with 26 additions and 16 deletions

View File

@@ -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;
};
}