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