1{ lib, buildPythonPackage, fetchPypi, requests, py, pytest, pytest-flakes }:
2
3buildPythonPackage rec {
4 pname = "devpi-common";
5 version = "3.3.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "30833581d03e07d7574b2ff698d213c984777dd44dd47c45c54d31858c694c94";
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}