Merge pull request #71309 from marsam/init-dumb-init
dumb-init: init at 1.2.2
This commit is contained in:
commit
d86e57c819
2 changed files with 33 additions and 0 deletions
31
pkgs/applications/virtualization/dumb-init/default.nix
Normal file
31
pkgs/applications/virtualization/dumb-init/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue