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

Co-authored-by: austinbutler <austinbutler@users.noreply.github.com>
main
Sandro 2 years ago committed by GitHub
parent 3db756def0
commit c5dbc6d161
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 36
      pkgs/development/python-modules/pypiserver/default.nix
  2. 2
      pkgs/top-level/all-packages.nix

@ -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 ];
};
}

@ -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 { };

Loading…
Cancel
Save