Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 27 lines 611 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "pid1"; 9 version = "0.1.3"; 10 11 src = fetchFromGitHub { 12 owner = "fpco"; 13 repo = "pid1-rs"; 14 rev = "v${version}"; 15 hash = "sha256-2dnQj3AQxedyq1YvHKt+lVXNEtuB5sMRSCqX9YeifzI="; 16 }; 17 18 cargoHash = "sha256-ldHtmbLoSFVxb0B3Oj21UOFNSXwu8xAPhpE8jBqOwr4="; 19 20 meta = with lib; { 21 description = "Signal handling and zombie reaping for PID1 process"; 22 homepage = "https://github.com/fpco/pid1-rs"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ psibi ]; 25 mainProgram = "pid1"; 26 }; 27}