@@ -1,20 +1,21 @@
1− { stdenv, python3Packages, nginx }:
1+{ stdenv, python3Packages, nginx }:
22
33python3Packages.buildPythonApplication rec {
4− name = "${pname}-${version}";
54 pname = "devpi-server";
6− version = "4.9.0";
5+ version = "5.1.0";
76
87 src = python3Packages.fetchPypi {
98 inherit pname version;
10− sha256 = "0cx0nv1qqv8lg6p1v8dv5val0dxnc3229c15imibl9wrhrffjbg9";
9+ sha256 = "254fceee846532a5fec4e6bf52a59eb8f236efc657678a542b5200da4bb3abbc";
1110 };
1211
1312 propagatedBuildInputs = with python3Packages; [
13+ py
1414 appdirs
1515 devpi-common
1616 execnet
1717 itsdangerous
18+ repoze_lru
1819 passlib
1920 pluggy
2021 pyramid
@@ -24,13 +25,12 @@ python3Packages.buildPythonApplication rec {
2425
2526 checkInputs = with python3Packages; [
2627 beautifulsoup4
27− mock
2828 nginx
2929 pytest
30− pytest-flakes
30+ pytest-flake8
3131 pytestpep8
3232 webtest
33− ];
33+ ] ++ stdenv.lib.optionals isPy27 [ mock ];
3434
3535 # test_genconfig.py needs devpi-server on PATH
3636 checkPhase = ''