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