mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 02:46:38 +00:00
28 lines
680 B
Nix
28 lines
680 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "supervise-${version}";
|
|
version = "1.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "catern";
|
|
repo = "supervise";
|
|
rev = "v${version}";
|
|
sha256 = "1cjdxgns3gh2ir4kcmjdmc480w8sm49inws0ihhjmnisjy4100lg";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp supervise unlinkwait -t $out/bin
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/catern/supervise;
|
|
description = "A minimal unprivileged process supervisor making use of modern Linux features";
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl3;
|
|
maintainers = with stdenv.lib.maintainers; [ catern ];
|
|
};
|
|
}
|