summary refs log tree commit diff
path: root/pkgs/development/python-modules/supervise_api/default.nix
blob: f16310131522cfc859dfe2c8da52858ff9fc37b0 (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
33
34
35
{ lib
, buildPythonPackage
, fetchPypi
, supervise
, isPy3k
, whichcraft
}:

buildPythonPackage rec {
  pname = "supervise_api";
  version = "0.3.0";

  name = "${pname}-${version}";

  src = fetchPypi {
    inherit pname version;
    sha256 = "13gy2m14zh6lbdm45b40ffjnw8y3dapz9hvzpwk8vyvbxj4f1vaf";
  };

  propagatedBuildInputs = [
    supervise
  ] ++ lib.optionals ( !isPy3k ) [
    whichcraft
  ];

  # no tests
  doCheck = false;

  meta = {
    description = "An API for running processes safely and securely";
    homepage = https://github.com/catern/supervise;
    license = lib.licenses.lgpl3;
    maintainers = with lib.maintainers; [ catern ];
  };
}