cryptodev: 1.8 -> 1.9
This commit is contained in:
parent
887570883e
commit
c355fd85ed
@ -1,25 +1,27 @@
|
|||||||
{ fetchurl, stdenv, kernel, onlyHeaders ? false }:
|
{ fetchurl, stdenv, kernel, onlyHeaders ? false }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cryptodev-linux-1.8";
|
pname = "cryptodev-linux-1.9";
|
||||||
name = "${pname}-${kernel.version}";
|
name = "${pname}-${kernel.version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.gna.org/cryptodev-linux/${pname}.tar.gz";
|
urls = [
|
||||||
sha256 = "0xhkhcdlds9aiz0hams93dv0zkgcn2abaiagdjlqdck7zglvvyk7";
|
"http://nwl.cc/pub/cryptodev-linux/${pname}.tar.gz"
|
||||||
|
"http://download.gna.org/cryptodev-linux/${pname}.tar.gz"
|
||||||
|
];
|
||||||
|
sha256 = "0l3r8s71vkd0s2h01r7fhqnc3j8cqw4msibrdxvps9hfnd4hnk4z";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardeningDisable = [ "pic" ];
|
hardeningDisable = [ "pic" ];
|
||||||
|
|
||||||
KERNEL_DIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
|
KERNEL_DIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
|
||||||
INSTALL_MOD_PATH = "\${out}";
|
INSTALL_MOD_PATH = "\${out}";
|
||||||
PREFIX = "\${out}";
|
prefix = "\${out}";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Device that allows access to Linux kernel cryptographic drivers";
|
description = "Device that allows access to Linux kernel cryptographic drivers";
|
||||||
homepage = http://home.gna.org/cryptodev-linux/;
|
homepage = http://home.gna.org/cryptodev-linux/;
|
||||||
license = stdenv.lib.licenses.gpl2Plus;
|
license = stdenv.lib.licenses.gpl2Plus;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
broken = !stdenv.lib.versionOlder kernel.version "4.9";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user