1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 08:05:40 +00:00
nixpkgs/pkgs/development/python-modules/supervise_api/default.nix
2018-06-22 13:09:32 +02:00

33 lines
652 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, supervise
, isPy3k
, whichcraft
, utillinux
}:
buildPythonPackage rec {
pname = "supervise_api";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "1230f42294910e83421b7d3b08a968d27d510a4a709e966507ed70db5da1b9de";
};
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 ];
};
}