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
40
pkgs/os-specific/linux/fscryptctl/default.nix
Normal file
40
pkgs/os-specific/linux/fscryptctl/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fscryptctl";
|
||||
version = "1.0.0";
|
||||
|
||||
goPackagePath = "github.com/google/fscrypt";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "fscryptctl";
|
||||
rev = "v${version}";
|
||||
sha256 = "1hwj726mm0yhlcf6523n07h0yq1rvkv4km64h3ydpjcrcxklhw6l";
|
||||
};
|
||||
|
||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Small C tool for Linux filesystem encryption";
|
||||
longDescription = ''
|
||||
fscryptctl is a low-level tool written in C that handles raw keys and
|
||||
manages policies for Linux filesystem encryption, specifically the
|
||||
"fscrypt" kernel interface which is supported by the ext4, f2fs, and
|
||||
UBIFS filesystems.
|
||||
fscryptctl is mainly intended for embedded systems which can't use the
|
||||
full-featured fscrypt tool, or for testing or experimenting with the
|
||||
kernel interface to Linux filesystem encryption. fscryptctl does not
|
||||
handle key generation, key stretching, key wrapping, or PAM integration.
|
||||
Most users should use the fscrypt tool instead, which supports these
|
||||
features and generally is much easier to use.
|
||||
As fscryptctl is intended for advanced users, you should read the kernel
|
||||
documentation for filesystem encryption before using fscryptctl.
|
||||
'';
|
||||
inherit (src.meta) homepage;
|
||||
changelog = "https://github.com/google/fscryptctl/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ primeos ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue