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
30
pkgs/tools/misc/pfsshell/default.nix
Normal file
30
pkgs/tools/misc/pfsshell/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub, meson, ninja }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.1.1";
|
||||
pname = "pfsshell";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "uyjulian";
|
||||
repo = "pfsshell";
|
||||
rev = "v${version}";
|
||||
sha256 = "0cr91al3knsbfim75rzl7rxdsglcc144x0nizn7q4jx5cad3zbn8";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja ];
|
||||
|
||||
# Build errors since 1.1.1 when format hardening is enabled:
|
||||
# cc1: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "PFS (PlayStation File System) shell for POSIX-based systems";
|
||||
platforms = platforms.unix;
|
||||
license = with licenses; [
|
||||
gpl2Only # the pfsshell software itself
|
||||
afl20 # APA, PFS, and iomanX libraries which are compiled together with this package
|
||||
];
|
||||
maintainers = with maintainers; [ makefu ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue