mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
commit
bda90b8650
23
pkgs/by-name/pi/pid1/package.nix
Normal file
23
pkgs/by-name/pi/pid1/package.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ lib, rustPlatform, fetchFromGitHub }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "pid1";
|
||||
version = "0.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fpco";
|
||||
repo = "pid1-rs";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-BljIa+4BKI7WHlOhXfN/3VKMzs5G5E4tNlQ2oPpJV2g=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-7PANlw/SKxyAqymfXIXFT/v3U0GCiGfgStguSr0lrqQ=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Signal handling and zombie reaping for PID1 process";
|
||||
homepage = "https://github.com/fpco/pid1-rs";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ psibi ];
|
||||
mainProgram = "pid1";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user