mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
34 lines
693 B
Nix
34 lines
693 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
}:
|
|
|
|
let
|
|
version = "0.4.0";
|
|
|
|
in
|
|
rustPlatform.buildRustPackage {
|
|
|
|
pname = "systemfd";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "systemfd";
|
|
owner = "mitsuhiko";
|
|
rev = version;
|
|
sha256 = "sha256-HUJgYPD4C9fMUYKpzmIy9gDT6HAZDWw1JLMKLgzRQTY=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-UhfE9Q5E79rN2mjkNB5IAN/J0fbpoy9CmM6ojHQcFP0=";
|
|
|
|
meta = {
|
|
description = "A convenient helper for passing sockets into another process";
|
|
mainProgram = "systemfd";
|
|
homepage = "https://github.com/mitsuhiko/systemfd";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ lib.maintainers.adisbladis ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
|
|
}
|