aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/devpi-common/default.nix
blob: 7e2a315b413e9eb063bc3da1f8403131376acc6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib, buildPythonPackage, fetchPypi
, requests
, py
, pytest
, pytest-flake8
, lazy
}:

buildPythonPackage rec {
  pname = "devpi-common";
  version = "3.6.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "fc14aa6b74d4d9e27dc2e9cbff000ed9be5cd723d3ac9672e66e4e8fce797227";
  };

  propagatedBuildInputs = [
    requests
    py
    lazy
  ];
  checkInputs = [ pytest pytest-flake8 ];

  checkPhase = ''
    py.test
  '';

  meta = with lib; {
    homepage = "https://github.com/devpi/devpi";
    description = "Utilities jointly used by devpi-server and devpi-client";
    license = licenses.mit;
    maintainers = with maintainers; [ lewo makefu ];
  };
}