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-09-19 14:19:46 +00:00
|
|
|
version = "0.4.4";
|
2022-05-18 14:49:53 +00:00
|
|
|
|
|
|
|
in
|
|
|
|
rustPlatform.buildRustPackage {
|
|
|
|
|
|
|
|
pname = "systemfd";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "systemfd";
|
|
|
|
owner = "mitsuhiko";
|
|
|
|
rev = version;
|
2024-09-19 14:19:46 +00:00
|
|
|
sha256 = "sha256-U+pBKuoMhyIOhLl1nzmxk5yFt9nOq/KZ6rx9JhalLmM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2022-05-18 14:49:53 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
cargoHash = "sha256-k8FgdNVjFYO/lflVzRQUwHvdy4+eCNTnTYImdfy1GaQ=";
|
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;
|
2024-10-11 05:15:48 +00:00
|
|
|
maintainers = [ ];
|
2022-05-18 14:49:53 +00:00
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
};
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|