2022-05-18 14:49:53 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
let
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0.4.2";
|
2022-05-18 14:49:53 +00:00
|
|
|
|
|
|
|
in
|
|
|
|
rustPlatform.buildRustPackage {
|
|
|
|
|
|
|
|
pname = "systemfd";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "systemfd";
|
|
|
|
owner = "mitsuhiko";
|
|
|
|
rev = version;
|
2024-07-27 06:49:29 +00:00
|
|
|
sha256 = "sha256-MASpQJkqmKpHZzMxHqAsuVO50dHHTv74Rnbv1gLapTU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2022-05-18 14:49:53 +00:00
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
cargoHash = "sha256-zgRbaZchdqzr+E6gqltSte9dGMnjbrM7/7t0BiNn4kA=";
|
2022-05-18 14:49:53 +00:00
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Convenient helper for passing sockets into another process";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "systemfd";
|
2022-05-18 14:49:53 +00:00
|
|
|
homepage = "https://github.com/mitsuhiko/systemfd";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = [ lib.maintainers.adisbladis ];
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
};
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|