1{ lib 2, buildPythonPackage 3, fetchPypi 4, supervise 5, isPy3k 6, whichcraft 7, utillinux 8}: 9 10buildPythonPackage rec { 11 pname = "supervise_api"; 12 version = "0.6.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "1230f42294910e83421b7d3b08a968d27d510a4a709e966507ed70db5da1b9de"; 17 }; 18 19 propagatedBuildInputs = [ 20 supervise 21 ] ++ lib.optionals ( !isPy3k ) [ 22 whichcraft 23 ]; 24 checkInputs = [ utillinux ]; 25 26 meta = { 27 description = "An API for running processes safely and securely"; 28 homepage = https://github.com/catern/supervise; 29 license = lib.licenses.lgpl3; 30 maintainers = with lib.maintainers; [ catern ]; 31 }; 32}