python.pkgs.ovh: 0.4.5 -> 0.4.8
This commit is contained in:
parent
f875b1083a
commit
0821a22eba
2 changed files with 28 additions and 19 deletions
27
pkgs/development/python-modules/ovh/default.nix
Normal file
27
pkgs/development/python-modules/ovh/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, requests
|
||||
, nose
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ovh";
|
||||
version = "0.4.8";
|
||||
|
||||
# Needs yanc
|
||||
doCheck = false;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "79fa4bdc61b9953af867676a9558d9e792b9fde568c980efe848a40565a217cd";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Thin wrapper around OVH's APIs";
|
||||
homepage = http://api.ovh.com/;
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = [ lib.maintainers.makefu ];
|
||||
};
|
||||
}
|
|
@ -20883,25 +20883,7 @@ EOF
|
|||
};
|
||||
};
|
||||
|
||||
ovh = buildPythonPackage rec {
|
||||
name = "ovh-${version}";
|
||||
version = "0.4.5";
|
||||
doCheck = false; #test needs packages too explicit
|
||||
buildInputs = with self; [ d2to1 ];
|
||||
propagatedBuildInputs = with self; [ requests ];
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/o/ovh/ovh-${version}.tar.gz";
|
||||
sha256 = "1wf2p1sbg34jpj97r3w5nx9pj6vp0mlprry3vw2xav3dv02qv2af";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Thin wrapper around OVH's APIs";
|
||||
homepage = https://pypi.python.org/pypi/ovh;
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ maintainers.makefu ];
|
||||
};
|
||||
};
|
||||
ovh = callPackage ../development/python-modules/ovh { };
|
||||
|
||||
willow = buildPythonPackage rec {
|
||||
name = "willow-${version}";
|
||||
|
|
Loading…
Reference in a new issue