Unverified Commit 3bf47443 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

nzbget: 24.2 -> 24.3 (#348151)

parents 1e22df34 893db6d3
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch2
, cmake
, boost
, pkg-config
@@ -20,23 +19,15 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "nzbget";
  version = "24.2";
  version = "24.3";

  src = fetchFromGitHub {
    owner = "nzbgetcom";
    repo = "nzbget";
    rev = "v${finalAttrs.version}";
    hash = "sha256-+iJ5n/meBrMxKHSLxL5QJ7+TI0RMfAM5n/8dwYupGoU=";
    hash = "sha256-Gci9bVjmewoEii6OiOuRpLgEBEKApmMmlA5v3OedCo4=";
  };

  patches = [
    (fetchpatch2 {
      # status page buffer overflow fix: https://github.com/nzbgetcom/nzbget/pull/346 -- remove when version > 24.2
      url = "https://github.com/nzbgetcom/nzbget/commit/f89978f7479cbb0ff2f96c8632d9d2f31834e6c8.patch";
      hash = "sha256-9K7PGzmoZ8cvEKBm5htfw5fr1GBSddNkDC/Vi4ngRto=";
    })
  ];

  nativeBuildInputs = [ cmake pkg-config ];

  buildInputs = [