Unverified Commit ce4a7608 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

librecast: clean up & add updateScript and NGI team (#423145)

parents 9f902ee8 aef40445
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  lcrq,
  lib,
  libsodium,
  nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
  pname = "librecast";
@@ -13,7 +14,7 @@ stdenv.mkDerivation (finalAttrs: {
    domain = "codeberg.org";
    owner = "librecast";
    repo = "librecast";
    rev = "v${finalAttrs.version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-FFumVHTobvcty3x26IAMHP8M3fYrnfLtxt/RJ/4vKBg=";
  };
  buildInputs = [
@@ -22,13 +23,15 @@ stdenv.mkDerivation (finalAttrs: {
  ];
  installFlags = [ "PREFIX=$(out)" ];

  passthru.updateScript = nix-update-script { };

  meta = {
    changelog = "https://codeberg.org/librecast/librecast/src/tag/v${finalAttrs.version}/CHANGELOG.md";
    description = "IPv6 multicast library";
    homepage = "https://librecast.net/librecast.html";
    license = [
      lib.licenses.gpl2
      lib.licenses.gpl3
    license = with lib.licenses; [
      gpl2Only
      gpl3Only
    ];
    maintainers = with lib.maintainers; [
      albertchae
@@ -37,6 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
      jasonodoom
      jleightcap
    ];
    teams = with lib.teams; [ ngi ];
    platforms = lib.platforms.gnu;
  };
})