From 5c2af8e353dd6d87fe5ae7e78546404f619f70d3 Mon Sep 17 00:00:00 2001 From: Julian Stecklina Date: Thu, 28 Nov 2024 16:31:00 +0100 Subject: [PATCH] linuxPackages.cryptodev: 1.13 -> 1.14 --- pkgs/os-specific/linux/cryptodev/default.nix | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/pkgs/os-specific/linux/cryptodev/default.nix b/pkgs/os-specific/linux/cryptodev/default.nix index bb3c0cdd3891c..ff1a4f88f0cc6 100644 --- a/pkgs/os-specific/linux/cryptodev/default.nix +++ b/pkgs/os-specific/linux/cryptodev/default.nix @@ -2,28 +2,20 @@ lib, stdenv, fetchFromGitHub, - fetchpatch, kernel ? false, }: -stdenv.mkDerivation rec { - pname = "cryptodev-linux-1.13"; - name = "${pname}-${kernel.version}"; +stdenv.mkDerivation (finalAttrs: { + pname = "cryptodev-linux"; + version = "1.14"; src = fetchFromGitHub { owner = "cryptodev-linux"; repo = "cryptodev-linux"; - rev = pname; - hash = "sha256-EzTPoKYa+XWOAa/Dk7ru02JmlymHeXVX7RMmEoJ1OT0="; + rev = "cryptodev-linux-${finalAttrs.version}"; + hash = "sha256-N7fGOMEWrb/gm1MDiJgq2QyTOni6n9w2H52baXmRA1g="; }; - patches = [ - (fetchpatch { - url = "https://github.com/cryptodev-linux/cryptodev-linux/compare/cryptodev-linux-1.13...5e7121e45ff283d30097da381fd7e97c4bb61364.patch"; - hash = "sha256-GLWpiInBrUcVhpvEjTmD5KLCrrFZnlJGnmLU0QYz+4A="; - }) - ]; - nativeBuildInputs = kernel.moduleBuildDependencies; hardeningDisable = [ "pic" ]; @@ -40,4 +32,4 @@ stdenv.mkDerivation rec { license = lib.licenses.gpl2Plus; platforms = lib.platforms.linux; }; -} +})