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

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

33 lines
663 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
version = "0.4.0";
in
rustPlatform.buildRustPackage {
pname = "systemfd";
inherit version;
src = fetchFromGitHub {
repo = "systemfd";
owner = "mitsuhiko";
rev = version;
sha256 = "sha256-HUJgYPD4C9fMUYKpzmIy9gDT6HAZDWw1JLMKLgzRQTY=";
2020-04-17 21:09:47 +00:00
};
2022-05-16 12:46:54 +00:00
cargoSha256 = "sha256-UhfE9Q5E79rN2mjkNB5IAN/J0fbpoy9CmM6ojHQcFP0=";
meta = {
description = "A convenient helper for passing sockets into another process";
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
}