nixpkgs/pkgs/by-name/pi/pid1/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
604 B
Nix
Raw Normal View History

2023-10-04 05:42:09 +01:00
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "pid1";
2024-06-19 21:32:18 +01:00
version = "0.1.3";
2023-10-04 05:42:09 +01:00
src = fetchFromGitHub {
owner = "fpco";
repo = "pid1-rs";
rev = "v${version}";
2024-06-19 21:32:18 +01:00
hash = "sha256-2dnQj3AQxedyq1YvHKt+lVXNEtuB5sMRSCqX9YeifzI=";
2023-10-04 05:42:09 +01:00
};
2024-06-19 21:32:18 +01:00
cargoHash = "sha256-/KK9U1dgCLglgn/MJ7+sov4EEnY/nluEsz0ooMp6ggI=";
2023-10-04 05:42:09 +01:00
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";
};
}