1{ lib, buildPythonPackage, fetchPypi, requests, py, pytest }:
2
3buildPythonPackage rec {
4 pname = "devpi-common";
5 version = "3.2.3";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "d2ecae3a92b2da62ecc6586d1c40d265e61bce70d7f1be2327e8b98598ba2687";
10 };
11
12 propagatedBuildInputs = [ requests py ];
13 checkInputs = [ pytest ];
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}