summary refs log tree commit diff
path: root/pkgs/development/tools/devpi-client/default.nix
blob: 76b35d65b21610af06ae8d02adfe3075f6ef9934 (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
26
27
28
29
30
31
32
{ stdenv
, pythonPackages
, glibcLocales
, devpi-server
} :

pythonPackages.buildPythonApplication rec {
  name = "${pname}-${version}";
  pname = "devpi-client";
  version = "3.1.0";

  src = pythonPackages.fetchPypi {
    inherit pname version;
    sha256 = "0w47x3lkafcg9ijlaxllmq4886nsc91w49ck1cd7vn2gafkwjkgr";
  };

  doCheck = true;
  checkInputs = with pythonPackages; [ pytest webtest mock devpi-server ];
  checkPhase = "py.test";

  LC_ALL = "en_US.UTF-8";
  buildInputs = with pythonPackages; [ glibcLocales pkginfo tox check-manifest ];
  propagatedBuildInputs = with pythonPackages; [ py devpi-common pluggy ];

  meta = {
    homepage = http://doc.devpi.net;
    description = "Github-style pypi index server and packaging meta tool";
    license = stdenv.lib.licenses.mit;
    maintainers = with stdenv.lib.maintainers; [ lewo makefu ];

  };
}