3
0
Fork 0
forked from mirrors/nixpkgs

pypiserver: 1.4.2 -> 1.5.0, add SuperSandro2000 as maintainer, add to… (#172417)

Co-authored-by: austinbutler <austinbutler@users.noreply.github.com>
This commit is contained in:
Sandro 2022-05-11 13:39:59 +02:00 committed by GitHub
parent 3db756def0
commit c5dbc6d161
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 9 deletions

View file

@ -1,15 +1,23 @@
{ buildPythonPackage, fetchFromGitHub, lib, passlib, pytestCheckHook, setuptools
, setuptools-git, twine, webtest }:
{ buildPythonPackage
, fetchFromGitHub
, lib
, passlib
, pytestCheckHook
, setuptools
, setuptools-git
, twine
, webtest
}:
buildPythonPackage rec {
pname = "pypiserver";
version = "1.4.2";
version = "1.5.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "1z5rsmqgin98m6ihy1ww42fxxr6jb4hzldn8vlc9ssv7sawdz8vz";
sha256 = "sha256-BK5vQsaWIMOnUqyeofAWJC1nQJPsTvmzl9i2893JCDI=";
};
nativeBuildInputs = [ setuptools-git ];
@ -20,13 +28,23 @@ buildPythonPackage rec {
export HOME=$TMPDIR
'';
checkInputs = [ passlib pytestCheckHook twine webtest ];
checkInputs = [
passlib
pytestCheckHook
twine
webtest
];
# These tests try to use the network
disabledTests = [
"test_pipInstall_openOk"
"test_pipInstall_authedOk"
# fails to install the package
"test_hash_algos"
"test_pip_install_authed_succeeds"
"test_pip_install_open_succeeds"
];
disabledTestPaths = [
# requires docker service running
"docker/test_docker.py"
];
pythonImportsCheck = [ "pypiserver" ];
@ -35,6 +53,6 @@ buildPythonPackage rec {
homepage = "https://github.com/pypiserver/pypiserver";
description = "Minimal PyPI server for use with pip/easy_install";
license = with licenses; [ mit zlib ];
maintainers = [ maintainers.austinbutler ];
maintainers = with maintainers; [ austinbutler SuperSandro2000 ];
};
}

View file

@ -22450,6 +22450,8 @@ with pkgs;
pypolicyd-spf = python3.pkgs.callPackage ../servers/mail/pypolicyd-spf { };
pypiserver = with python3Packages; toPythonApplication pypiserver;
qpid-cpp = callPackage ../servers/amqp/qpid-cpp { };
qremotecontrol-server = callPackage ../servers/misc/qremotecontrol-server { };