1 { lib, fetchFromGitHub, buildPythonApplication
29 buildPythonApplication rec {
30 pname = "devpi-server";
34 disabled = pythonOlder "3.7";
36 src = fetchFromGitHub {
39 rev = "server-${version}";
40 hash = "sha256-JqYWWItdAgtUtiYSqxUd40tT7ON4oHiDA4/3Uhb01b8=";
43 sourceRoot = "${src.name}/server";
46 substituteInPlace tox.ini \
47 --replace "--flake8" ""
54 propagatedBuildInputs = [
72 ] ++ passlib.optional-dependencies.argon2;
82 # root_passwd_hash tries to write to store
83 # TestMirrorIndexThings tries to write to /var through ngnix
84 # nginx tests try to write to /var
86 export PATH=$PATH:$out/bin
92 "--ignore=test_devpi_server/test_nginx_replica.py"
93 "--ignore=test_devpi_server/test_streaming_nginx.py"
94 "--ignore=test_devpi_server/test_streaming_replica_nginx.py"
97 "root_passwd_hash_option"
98 "TestMirrorIndexThings"
99 "test_auth_mirror_url_no_hash"
100 "test_auth_mirror_url_with_hash"
101 "test_auth_mirror_url_hidden_in_logs"
102 "test_simplelinks_timeout"
105 __darwinAllowLocalNetworking = true;
107 pythonImportsCheck = [
111 passthru.tests.version = testers.testVersion {
112 package = devpi-server;
116 homepage = "http://doc.devpi.net";
117 description = "Github-style pypi index server and packaging meta tool";
118 changelog = "https://github.com/devpi/devpi/blob/${src.rev}/server/CHANGELOG";
119 license = licenses.mit;
120 maintainers = with maintainers; [ makefu ];