diff options
Diffstat (limited to 'pkgs/development/tools/systemfd/default.nix')
-rw-r--r-- | pkgs/development/tools/systemfd/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/tools/systemfd/default.nix b/pkgs/development/tools/systemfd/default.nix new file mode 100644 index 0000000000000..a0037050b65d0 --- /dev/null +++ b/pkgs/development/tools/systemfd/default.nix @@ -0,0 +1,18 @@ +{ stdenv, lib, fetchgit, darwin, buildPlatform +, buildRustCrate, buildRustCrateHelpers, defaultCrateOverrides }: + +((import ./Cargo.nix { + inherit lib buildPlatform buildRustCrate buildRustCrateHelpers fetchgit; + cratesIO = import ./crates-io.nix { inherit lib buildRustCrate buildRustCrateHelpers; }; +}).systemfd {}).override { + crateOverrides = defaultCrateOverrides // { + systemfd = attrs: { + 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 ]; + }; + }; + }; +} |