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
27
pkgs/os-specific/linux/semodule-utils/default.nix
Normal file
27
pkgs/os-specific/linux/semodule-utils/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, stdenv, fetchurl, libsepol }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "semodule-utils";
|
||||
version = "3.3";
|
||||
|
||||
inherit (libsepol) se_url;
|
||||
|
||||
src = fetchurl {
|
||||
url = "${se_url}/${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "0qvhl40a6jlm8p719nnlw2ghlxbh8lxbcsd59azxp884bxgfr61h";
|
||||
};
|
||||
|
||||
buildInputs = [ libsepol ];
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
"LIBSEPOLA=${lib.getLib libsepol}/lib/libsepol.a"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "SELinux policy core utilities (packaging additions)";
|
||||
license = licenses.gpl2;
|
||||
inherit (libsepol.meta) homepage platforms;
|
||||
maintainers = [ maintainers.e-user ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue