summary refs log tree commit diff
path: root/pkgs/os-specific/linux/cryptodev
diff options
context:
space:
mode:
authorTim Steinbach <tim@nequissimus.com>2020-09-11 09:36:56 -0400
committerJon <jonringer@users.noreply.github.com>2020-09-22 23:12:39 -0700
commit983f3229e48c5775a4acac53cbe2e8734d39f6cf (patch)
tree43f7bb7f7564b1b2bfd08db2b8885f74a90218f0 /pkgs/os-specific/linux/cryptodev
parent561078189e9ef80ece94f1d92c47d162eeb699e2 (diff)
downloadnixpkgs-983f3229e48c5775a4acac53cbe2e8734d39f6cf.tar
nixpkgs-983f3229e48c5775a4acac53cbe2e8734d39f6cf.tar.gz
nixpkgs-983f3229e48c5775a4acac53cbe2e8734d39f6cf.tar.bz2
nixpkgs-983f3229e48c5775a4acac53cbe2e8734d39f6cf.tar.lz
nixpkgs-983f3229e48c5775a4acac53cbe2e8734d39f6cf.tar.xz
nixpkgs-983f3229e48c5775a4acac53cbe2e8734d39f6cf.tar.zst
nixpkgs-983f3229e48c5775a4acac53cbe2e8734d39f6cf.zip
cryptodev: 1.9 -> 1.11
Diffstat (limited to 'pkgs/os-specific/linux/cryptodev')
-rw-r--r--pkgs/os-specific/linux/cryptodev/default.nix15
1 files changed, 7 insertions, 8 deletions
diff --git a/pkgs/os-specific/linux/cryptodev/default.nix b/pkgs/os-specific/linux/cryptodev/default.nix
index 321f00b0ef2..79132852d23 100644
--- a/pkgs/os-specific/linux/cryptodev/default.nix
+++ b/pkgs/os-specific/linux/cryptodev/default.nix
@@ -1,14 +1,14 @@
-{ fetchurl, stdenv, kernel ? false }:
+{ fetchFromGitHub, stdenv, kernel ? false }:
 
 stdenv.mkDerivation rec {
-  pname = "cryptodev-linux-1.9";
+  pname = "cryptodev-linux-1.11";
   name = "${pname}-${kernel.version}";
 
-  src = fetchurl {
-    urls = [
-      "http://nwl.cc/pub/cryptodev-linux/${pname}.tar.gz"
-    ];
-    sha256 = "0l3r8s71vkd0s2h01r7fhqnc3j8cqw4msibrdxvps9hfnd4hnk4z";
+  src = fetchFromGitHub {
+    owner = "cryptodev-linux";
+    repo = "cryptodev-linux";
+    rev = pname;
+    sha256 = "1ky850qiyacq8p3lng7n3w6h3x2clqrz4lkv2cv3psy92mg9pvc9";
   };
 
   hardeningDisable = [ "pic" ];
@@ -22,6 +22,5 @@ stdenv.mkDerivation rec {
     homepage = "http://cryptodev-linux.org/";
     license = stdenv.lib.licenses.gpl2Plus;
     platforms = stdenv.lib.platforms.linux;
-    broken = !stdenv.lib.versionOlder kernel.version "4.13";
   };
 }