Merge pull request #71309 from marsam/init-dumb-init

dumb-init: init at 1.2.2
This commit is contained in:
Mario Rodas 2019-10-22 02:38:21 -05:00 committed by GitHub
commit d86e57c819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub, glibc }:
stdenv.mkDerivation rec {
pname = "dumb-init";
version = "1.2.2";
src = fetchFromGitHub {
owner = "Yelp";
repo = pname;
rev = "v${version}";
sha256 = "15hgl8rz5dmrl5gx21sq5269l1hq539qn68xghjx0bv9hgbx0g20";
};
buildInputs = [ glibc.static ];
installPhase = ''
runHook preInstall
install -Dm755 -t $out/bin dumb-init
runHook postInstall
'';
meta = with stdenv.lib; {
description = "A minimal init system for Linux containers";
homepage = "https://github.com/Yelp/dumb-init";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
platforms = platforms.linux;
};
}

View File

@ -215,6 +215,8 @@ in
dotnet-sdk = callPackage ../development/compilers/dotnet/sdk { };
dumb-init = callPackage ../applications/virtualization/dumb-init {};
dispad = callPackage ../tools/X11/dispad { };
dump1090 = callPackage ../applications/radio/dump1090 { };