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
35
pkgs/development/libraries/boxfort/default.nix
Normal file
35
pkgs/development/libraries/boxfort/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, stdenv, fetchFromGitHub, meson, ninja, python3Packages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "unstable-2019-10-09";
|
||||
pname = "boxfort";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Snaipe";
|
||||
repo = "BoxFort";
|
||||
rev = "356f047db08b7344ea7980576b705e65b9fc8772";
|
||||
sha256 = "1p0llz7n0p5gzpvqszmra9p88vnr0j88sp5ixhgbfz89bswg62ss";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja ];
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs ci/isdir.py
|
||||
'';
|
||||
|
||||
checkInputs = with python3Packages; [ cram ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
outputs = [ "dev" "out" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Convenient & cross-platform sandboxing C library";
|
||||
homepage = "https://github.com/Snaipe/BoxFort";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ thesola10 Yumasi ];
|
||||
platforms = platforms.unix;
|
||||
# Upstream currently broken for macOS https://cirrus-ci.com/build/5624937369042944
|
||||
broken = stdenv.targetPlatform.isDarwin;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue