1{ lib, buildPythonPackage, fetchPypi, requests, py, pytest, pytest-flakes }:
2
3buildPythonPackage rec {
4 pname = "devpi-common";
5 version = "3.3.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "2c7a6471c0f5b07ac9257adec3b3c3a89193ee672fdeb0a6f29487dc9d675e0c";
10 };
11
12 propagatedBuildInputs = [ requests py ];
13 checkInputs = [ pytest pytest-flakes ];
14
15 checkPhase = ''
16 py.test
17 '';
18
19 meta = with lib; {
20 homepage = https://github.com/devpi/devpi;
21 description = "Utilities jointly used by devpi-server and devpi-client";
22 license = licenses.mit;
23 maintainers = with maintainers; [ lewo makefu ];
24 };
25}