depot/third_party/nixpkgs/pkgs/development/tools/systemfd/default.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

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;
};
}