nixpkgs/pkgs/development/python-modules/supervise_api/default.nix
Spencer Baugh 62855fc04a pythonPackages.supervise_api: 0.4.0 -> 0.5.3
Upstream added tests, so we run those too now.
2018-05-04 20:10:29 +00:00

33 lines
640 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, supervise
, isPy3k
, whichcraft
, utillinux
}:
buildPythonPackage rec {
pname = "supervise_api";
version = "0.5.3";
src = fetchPypi {
inherit pname version;
sha256 = "0dakc1h2ih1bw67y137wp0vph8d3y2lx5d70b8dgggy1zbpqxl1m";
};
propagatedBuildInputs = [
supervise
] ++ lib.optionals ( !isPy3k ) [
whichcraft
];
checkInputs = [ utillinux ];
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 ];
};
}