about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/devpi-common/default.nix
blob: 6bdda6ac5ea7b93767fc3c1668b8ceb45b94f181 (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, pytest-flakes }:

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

  src = fetchPypi {
    inherit pname version;
    sha256 = "2c7a6471c0f5b07ac9257adec3b3c3a89193ee672fdeb0a6f29487dc9d675e0c";
  };

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

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