Merge pull request #30082 from makefu/pkgs/devpi-client/update
devpi-client: 2.7.0 -> 3.1.0rc1
This commit is contained in:
commit
0eb0a404e5
26
pkgs/development/python-modules/devpi-common/default.nix
Normal file
26
pkgs/development/python-modules/devpi-common/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ pythonPackages }:
|
||||||
|
|
||||||
|
with pythonPackages;buildPythonPackage rec {
|
||||||
|
pname = "devpi-common";
|
||||||
|
version = "3.2.0rc1";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1ws35g1r0j2xccsna4r6fc9a08przfi28kf9hciq3rmd6ndbr9c9";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ requests py ];
|
||||||
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = https://github.com/devpi/devpi;
|
||||||
|
description = "Utilities jointly used by devpi-server and devpi-client";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ lewo makefu ];
|
||||||
|
};
|
||||||
|
}
|
@ -1,20 +1,22 @@
|
|||||||
{ stdenv, fetchurl, pythonPackages, glibcLocales} :
|
{ stdenv, pythonPackages, glibcLocales} :
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
name = "devpi-client-${version}";
|
name = "${pname}-${version}";
|
||||||
version = "2.7.0";
|
pname = "devpi-client";
|
||||||
|
version = "3.1.0rc1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = pythonPackages.fetchPypi {
|
||||||
url = "mirror://pypi/d/devpi-client/${name}.tar.gz";
|
inherit pname version;
|
||||||
sha256 = "0z7vaf0a66n82mz0vx122pbynjvkhp2mjf9lskgyv09y3bxzzpj3";
|
sha256 = "0kfyva886k9zxmilqb2yviwqzyvs3n36if3s56y4clbvw9hr2lc3";
|
||||||
};
|
};
|
||||||
|
# requires devpi-server which is currently not packaged
|
||||||
doCheck = false;
|
doCheck = true;
|
||||||
|
checkInputs = with pythonPackages; [ pytest webtest mock ];
|
||||||
|
checkPhase = "py.test";
|
||||||
|
|
||||||
LC_ALL = "en_US.UTF-8";
|
LC_ALL = "en_US.UTF-8";
|
||||||
buildInputs = with pythonPackages; [ glibcLocales tox check-manifest pkginfo ];
|
buildInputs = with pythonPackages; [ glibcLocales pkginfo tox check-manifest ];
|
||||||
|
propagatedBuildInputs = with pythonPackages; [ py devpi-common pluggy ];
|
||||||
propagatedBuildInputs = with pythonPackages; [ py devpi-common ];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://doc.devpi.net;
|
homepage = http://doc.devpi.net;
|
||||||
|
@ -2355,25 +2355,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
devpi-common = buildPythonPackage rec {
|
devpi-common = callPackage ../development/python-modules/devpi-common { };
|
||||||
name = "devpi-common";
|
|
||||||
version = "3.0.1";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/d/devpi-common/devpi-common-${version}.tar.gz";
|
|
||||||
sha256 = "0l3a7iyk596x6pvzg7604lzzi012qszr804fqn6f517zcy1xz23j";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ self.requests self.py ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://bitbucket.org/hpk42/devpi;
|
|
||||||
description = "Utilities jointly used by devpi-server and devpi-client";
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = with maintainers; [ lewo makefu ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# A patched version of buildout, useful for buildout based development on Nix
|
# A patched version of buildout, useful for buildout based development on Nix
|
||||||
zc_buildout_nix = callPackage ../development/python-modules/buildout-nix { };
|
zc_buildout_nix = callPackage ../development/python-modules/buildout-nix { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user