depot/pkgs/by-name/pi/pid1/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

23 lines
604 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "pid1";
version = "0.1.3";
src = fetchFromGitHub {
owner = "fpco";
repo = "pid1-rs";
rev = "v${version}";
hash = "sha256-2dnQj3AQxedyq1YvHKt+lVXNEtuB5sMRSCqX9YeifzI=";
};
cargoHash = "sha256-/KK9U1dgCLglgn/MJ7+sov4EEnY/nluEsz0ooMp6ggI=";
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";
};
}