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
28
pkgs/os-specific/linux/cryptodev/default.nix
Normal file
28
pkgs/os-specific/linux/cryptodev/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ fetchFromGitHub, lib, stdenv, kernel ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cryptodev-linux-1.12";
|
||||
name = "${pname}-${kernel.version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cryptodev-linux";
|
||||
repo = "cryptodev-linux";
|
||||
rev = pname;
|
||||
sha256 = "sha256-vJQ10rG5FGbeEOqCUmH/pZ0P77kAW/MtUarywbtIyHw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
hardeningDisable = [ "pic" ];
|
||||
|
||||
KERNEL_DIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
|
||||
INSTALL_MOD_PATH = "\${out}";
|
||||
prefix = "\${out}";
|
||||
|
||||
meta = {
|
||||
description = "Device that allows access to Linux kernel cryptographic drivers";
|
||||
homepage = "http://cryptodev-linux.org/";
|
||||
maintainers = with lib.maintainers; [ fortuneteller2k ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue