1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-23 07:26:54 +00:00
nixpkgs/pkgs/os-specific/linux/cryptodev/default.nix
Renaud c7f27571d3
cryptodev-linux: update meta.homepage
gna.org forge is closed
2018-10-13 22:42:40 +02:00

28 lines
768 B
Nix

{ fetchurl, stdenv, kernel ? false }:
stdenv.mkDerivation rec {
pname = "cryptodev-linux-1.9";
name = "${pname}-${kernel.version}";
src = fetchurl {
urls = [
"http://nwl.cc/pub/cryptodev-linux/${pname}.tar.gz"
];
sha256 = "0l3r8s71vkd0s2h01r7fhqnc3j8cqw4msibrdxvps9hfnd4hnk4z";
};
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/;
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
broken = !stdenv.lib.versionOlder kernel.version "4.13";
};
}