Unverified Commit 019ebb77 authored by Stefan Frijters's avatar Stefan Frijters
Browse files

intel-ipsec-mb: fix sourceRoot

parent 394c692f
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -5,18 +5,18 @@
  nasm,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "intel-ipsec-mb";
  version = "2.0.1";

  src = fetchFromGitHub {
    owner = "intel";
    repo = "intel-ipsec-mb";
    rev = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-k/NoPMKbiWZ25tdomsPpv2gfhQuBHxzX6KRT1UY88Ko=";
  };

  sourceRoot = "source/lib";
  sourceRoot = "${finalAttrs.src.name}/lib";

  nativeBuildInputs = [ nasm ];

@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
    "NOLDCONFIG=y"
  ];

  meta = with lib; {
  meta = {
    description = "Intel Multi-Buffer Crypto for IPsec Library";
    longDescription = ''
      Intel Multi-Buffer Crypto for IPsec Library provides software crypto
@@ -34,8 +34,8 @@ stdenv.mkDerivation rec {
      and MPEG DRM.
    '';
    homepage = "https://github.com/intel/intel-ipsec-mb";
    license = licenses.bsd3;
    license = lib.licenses.bsd3;
    platforms = [ "x86_64-linux" ];
    maintainers = [ ];
  };
}
})