nixpkgs/pkgs/development/tools/systemfd/default.nix
2021-01-25 18:31:47 +01:00

19 lines
680 B
Nix

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