2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-27 15:11:44 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
|
|
|
, http_signature
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "smartdc";
|
2018-11-04 10:35:17 +00:00
|
|
|
version = "0.2.0";
|
2018-10-27 15:11:44 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:17 +00:00
|
|
|
sha256 = "6ffd866fb98386324e189e24d4f7532f66c1b20eece35ca1a6cb4b2a2639fc85";
|
2018-10-27 15:11:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests http_signature ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-27 15:11:44 +01:00
|
|
|
description = "Joyent SmartDataCenter CloudAPI connector using http-signature authentication via Requests";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/atl/py-smartdc";
|
2018-10-27 15:11:44 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|