nixpkgs/pkgs/development/tools/systemfd/default.nix

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

34 lines
689 B
Nix
Raw Normal View History

2022-05-16 12:46:54 +00:00
{ lib
, fetchFromGitHub
, rustPlatform
}:
2020-04-17 21:09:47 +00:00
2022-05-16 12:46:54 +00:00
let
2024-09-10 17:17:18 +00:00
version = "0.4.4";
2022-05-16 12:46:54 +00:00
in
rustPlatform.buildRustPackage {
pname = "systemfd";
inherit version;
src = fetchFromGitHub {
repo = "systemfd";
owner = "mitsuhiko";
rev = version;
2024-09-10 17:17:18 +00:00
sha256 = "sha256-U+pBKuoMhyIOhLl1nzmxk5yFt9nOq/KZ6rx9JhalLmM=";
2020-04-17 21:09:47 +00:00
};
2022-05-16 12:46:54 +00:00
2024-09-10 17:17:18 +00:00
cargoHash = "sha256-k8FgdNVjFYO/lflVzRQUwHvdy4+eCNTnTYImdfy1GaQ=";
2022-05-16 12:46:54 +00:00
meta = {
description = "Convenient helper for passing sockets into another process";
mainProgram = "systemfd";
2022-05-16 12:46:54 +00:00
homepage = "https://github.com/mitsuhiko/systemfd";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.adisbladis ];
platforms = lib.platforms.unix;
};
2020-04-17 21:09:47 +00:00
}