about summary refs log tree commit diff
path: root/pkgs/development/python-modules/devpi-common/default.nix
blob: 4fe8756c961be4a3bf919fc826a8e48069c2a537 (plain) (blame)
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
{ lib, buildPythonPackage, fetchPypi, requests, py, pytest }:

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

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

  propagatedBuildInputs = [ requests py ];
  checkInputs = [ pytest ];

  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 ];
  };
}