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
26
pkgs/applications/virtualization/railcar/default.nix
Normal file
26
pkgs/applications/virtualization/railcar/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, fetchFromGitHub, rustPlatform, libseccomp }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "railcar";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "oracle";
|
||||
repo = "railcar";
|
||||
rev = "v${version}";
|
||||
sha256 = "09zn160qxd7760ii6rs5nhr00qmaz49x1plclscznxh9hinyjyh9";
|
||||
};
|
||||
|
||||
# Submitted upstream https://github.com/oracle/railcar/pull/44
|
||||
cargoPatches = [ ./cargo-lock.patch ];
|
||||
cargoSha256 = "1zsch6gpbw96j5wa68ksbk4x6nbsl7dbvdhdprljpcyrwwkhz47x";
|
||||
|
||||
buildInputs = [ libseccomp ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Rust implementation of the Open Containers Initiative oci-runtime";
|
||||
homepage = "https://github.com/oracle/railcar";
|
||||
license = with licenses; [ asl20 /* or */ upl ];
|
||||
maintainers = [ maintainers.spacekookie ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue