1 { lib, fetchFromGitHub, buildPythonApplication
26 buildPythonApplication rec {
27 pname = "devpi-server";
31 disabled = pythonOlder "3.7";
33 src = fetchFromGitHub {
36 rev = "server-${version}";
37 hash = "sha256-HnxWLxOK+6B8O/7lpNjuSUQ0Z7NOmV2n01WFyjow6oU=";
40 sourceRoot = "${src.name}/server";
43 substituteInPlace tox.ini \
44 --replace "--flake8" ""
51 propagatedBuildInputs = [
67 ] ++ passlib.optional-dependencies.argon2;
77 # root_passwd_hash tries to write to store
78 # TestMirrorIndexThings tries to write to /var through ngnix
79 # nginx tests try to write to /var
81 export PATH=$PATH:$out/bin
88 "--ignore=test_devpi_server/test_nginx_replica.py"
89 "--ignore=test_devpi_server/test_streaming_nginx.py"
90 "--ignore=test_devpi_server/test_streaming_replica_nginx.py"
93 "root_passwd_hash_option"
94 "TestMirrorIndexThings"
95 "test_auth_mirror_url_no_hash"
96 "test_auth_mirror_url_with_hash"
97 "test_auth_mirror_url_hidden_in_logs"
100 __darwinAllowLocalNetworking = true;
102 pythonImportsCheck = [
107 homepage = "http://doc.devpi.net";
108 description = "Github-style pypi index server and packaging meta tool";
109 changelog = "https://github.com/devpi/devpi/blob/${src.rev}/server/CHANGELOG";
110 license = licenses.mit;
111 maintainers = with maintainers; [ makefu ];