Unverified Commit 339a8510 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

gvm-libs: migrate to finalAttrs

parent 84b445fb
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -24,14 +24,14 @@
  zlib,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "gvm-libs";
  version = "22.35.2";

  src = fetchFromGitHub {
    owner = "greenbone";
    repo = "gvm-libs";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-DVYU+6hUps2nwgkTWu228wVYtke4oDFUqXM73DEN6LM=";
  };

@@ -73,9 +73,9 @@ stdenv.mkDerivation rec {
  meta = {
    description = "Libraries module for the Greenbone Vulnerability Management Solution";
    homepage = "https://github.com/greenbone/gvm-libs";
    changelog = "https://github.com/greenbone/gvm-libs/releases/tag/${src.tag}";
    license = with lib.licenses; [ gpl2Plus ];
    changelog = "https://github.com/greenbone/gvm-libs/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [ fab ];
    platforms = lib.platforms.linux;
  };
}
})