uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
32
pkgs/development/tools/systemfd/default.nix
Normal file
32
pkgs/development/tools/systemfd/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ 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";
|
||||
homepage = "https://github.com/mitsuhiko/systemfd";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.adisbladis ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue