cryptodev: 1.9 -> 1.11

This commit is contained in:
Tim Steinbach 2020-09-11 09:36:56 -04:00 committed by Jon
parent 561078189e
commit 983f3229e4

View File

@ -1,14 +1,14 @@
{ fetchurl, stdenv, kernel ? false }: { fetchFromGitHub, stdenv, kernel ? false }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cryptodev-linux-1.9"; pname = "cryptodev-linux-1.11";
name = "${pname}-${kernel.version}"; name = "${pname}-${kernel.version}";
src = fetchurl { src = fetchFromGitHub {
urls = [ owner = "cryptodev-linux";
"http://nwl.cc/pub/cryptodev-linux/${pname}.tar.gz" repo = "cryptodev-linux";
]; rev = pname;
sha256 = "0l3r8s71vkd0s2h01r7fhqnc3j8cqw4msibrdxvps9hfnd4hnk4z"; sha256 = "1ky850qiyacq8p3lng7n3w6h3x2clqrz4lkv2cv3psy92mg9pvc9";
}; };
hardeningDisable = [ "pic" ]; hardeningDisable = [ "pic" ];
@ -22,6 +22,5 @@ stdenv.mkDerivation rec {
homepage = "http://cryptodev-linux.org/"; homepage = "http://cryptodev-linux.org/";
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.13";
}; };
} }