Skip to content

Commit

Permalink
linuxPackages.cryptodev: 1.13 -> 1.14 (#359871)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Dec 18, 2024
2 parents 532a90f + 5c2af8e commit cd3cc40
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions pkgs/os-specific/linux/cryptodev/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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" ];

Expand All @@ -40,4 +32,4 @@ stdenv.mkDerivation rec {
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
};
}
})

0 comments on commit cd3cc40

Please sign in to comment.