Unverified Commit 0a0cdd83 authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

Merge pull request #311495 from fpletz/pkgs/cryptodev-zhf

cryptodev: fix build with patches from master
parents 38940869 c849940e
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
{ fetchFromGitHub, lib, stdenv, kernel ? false }:
{
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  kernel ? false,
}:

stdenv.mkDerivation rec {
  pname = "cryptodev-linux-1.13";
@@ -11,6 +17,13 @@ stdenv.mkDerivation rec {
    hash = "sha256-EzTPoKYa+XWOAa/Dk7ru02JmlymHeXVX7RMmEoJ1OT0=";
  };

  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" ];