ae2dc6aea6
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
33 lines
662 B
Nix
33 lines
662 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
}:
|
|
|
|
let
|
|
version = "0.4.4";
|
|
|
|
in
|
|
rustPlatform.buildRustPackage {
|
|
|
|
pname = "systemfd";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "systemfd";
|
|
owner = "mitsuhiko";
|
|
rev = version;
|
|
sha256 = "sha256-U+pBKuoMhyIOhLl1nzmxk5yFt9nOq/KZ6rx9JhalLmM=";
|
|
};
|
|
|
|
cargoHash = "sha256-k8FgdNVjFYO/lflVzRQUwHvdy4+eCNTnTYImdfy1GaQ=";
|
|
|
|
meta = {
|
|
description = "Convenient helper for passing sockets into another process";
|
|
mainProgram = "systemfd";
|
|
homepage = "https://github.com/mitsuhiko/systemfd";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
|
|
}
|