pythonPackges.pyrax: enable tests
This commit is contained in:
parent
a9aeb1039a
commit
d639498ed9
@ -1,5 +1,5 @@
|
|||||||
{ lib, buildPythonPackage, fetchurl, requests2, novaclient, keyring,
|
{ lib, buildPythonPackage, fetchurl, requests2, novaclient, keyring,
|
||||||
rackspace-novaclient, six, isPy3k }:
|
rackspace-novaclient, six, isPy3k, pytest, glibcLocales }:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "pyrax-1.9.8";
|
name = "pyrax-1.9.8";
|
||||||
|
|
||||||
@ -17,6 +17,13 @@ buildPythonPackage rec {
|
|||||||
disabled = isPy3k;
|
disabled = isPy3k;
|
||||||
propagatedBuildInputs = [ requests2 novaclient keyring rackspace-novaclient six ];
|
propagatedBuildInputs = [ requests2 novaclient keyring rackspace-novaclient six ];
|
||||||
|
|
||||||
|
LC_ALL = "en_US.UTF-8";
|
||||||
|
buildInputs = [ pytest glibcLocales ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test tests/unit
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/rackspace/pyrax";
|
homepage = "https://github.com/rackspace/pyrax";
|
||||||
license = lib.licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
|
@ -21556,7 +21556,9 @@ in {
|
|||||||
|
|
||||||
rackspace-novaclient = callPackage ../development/python-modules/rackspace-novaclient.nix { };
|
rackspace-novaclient = callPackage ../development/python-modules/rackspace-novaclient.nix { };
|
||||||
|
|
||||||
pyrax = callPackage ../development/python-modules/pyrax.nix { };
|
pyrax = callPackage ../development/python-modules/pyrax.nix {
|
||||||
|
glibcLocales = pkgs.glibcLocales;
|
||||||
|
};
|
||||||
|
|
||||||
pyreport = buildPythonPackage (rec {
|
pyreport = buildPythonPackage (rec {
|
||||||
name = "pyreport-0.3.4c";
|
name = "pyreport-0.3.4c";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user