mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
pythonPackages.smartdc: refactor move to python-modules
This commit is contained in:
parent
ab08ef1f4d
commit
65758006d2
25
pkgs/development/python-modules/smartdc/default.nix
Normal file
25
pkgs/development/python-modules/smartdc/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
|
@ -3839,22 +3839,7 @@ in {
|
|||
|
||||
six = callPackage ../development/python-modules/six { };
|
||||
|
||||
smartdc = buildPythonPackage rec {
|
||||
name = "smartdc-0.1.12";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = mirror://pypi/s/smartdc/smartdc-0.1.12.tar.gz;
|
||||
sha256 = "36206f4fddecae080c66faf756712537e650936b879abb23a8c428731d2415fe";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ requests http_signature ];
|
||||
|
||||
meta = {
|
||||
description = "Joyent SmartDataCenter CloudAPI connector using http-signature authentication via Requests";
|
||||
homepage = https://github.com/atl/py-smartdc;
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
smartdc = callPackage ../development/python-modules/smartdc { };
|
||||
|
||||
socksipy-branch = buildPythonPackage rec {
|
||||
name = "SocksiPy-branch-1.01";
|
||||
|
|
Loading…
Reference in a new issue