devpi-server: init at 4.3.1

This commit is contained in:
makefu 2017-12-04 15:11:12 +01:00
parent 8002a3b760
commit 623f9c15e0
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, pythonPackages, glibcLocales, nginx }:
pythonPackages.buildPythonApplication rec {
name = "${pname}-${version}";
pname = "devpi-server";
version = "4.3.1";
src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "0x6ks2sbpknznxaqlh0gf5hcvhkmgixixq2zs91wgfqxk4vi4s6n";
};
propagatedBuildInputs = with pythonPackages;
[ devpi-common execnet itsdangerous pluggy waitress pyramid passlib ];
checkInputs = with pythonPackages; [ nginx webtest pytest beautifulsoup4 pytest-timeout pytest-catchlog mock pyyaml ];
checkPhase = ''
cd test_devpi_server/
PATH=$PATH:$out/bin pytest --slow -rfsxX
'';
meta = with stdenv.lib;{
homepage = http://doc.devpi.net;
description = "Github-style pypi index server and packaging meta tool";
license = licenses.mit;
maintainers = with maintainers; [ makefu ];
};
}

View File

@ -5535,6 +5535,8 @@ with pkgs;
devpi-client = callPackage ../development/tools/devpi-client {};
devpi-server = callPackage ../development/tools/devpi-server {};
dotty = callPackage ../development/compilers/scala/dotty.nix { jre = jre8;};
drumstick = callPackage ../development/libraries/drumstick { };