supervise: 1.0.0 -> 1.1.0

This commit is contained in:
Spencer Baugh 2017-12-28 17:56:24 +00:00
parent 0dec14ba8c
commit 01bf384409

View File

@ -1,22 +1,15 @@
{ stdenv, fetchFromGitHub }:
{ stdenv, fetchzip }:
stdenv.mkDerivation rec {
name = "supervise-${version}";
version = "1.0.0";
version = "1.1.0";
src = fetchFromGitHub {
owner = "catern";
repo = "supervise";
rev = "v${version}";
sha256 = "1cjdxgns3gh2ir4kcmjdmc480w8sm49inws0ihhjmnisjy4100lg";
src = fetchzip {
url = "https://github.com/catern/supervise/releases/download/v${version}/supervise-${version}.tar.gz";
sha256 = "0i20znchvydk8ww31ka4b0wjkaizz38racwgvqj32idwhqgar5x2";
};
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";