Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions pkgs/by-name/st/streamripper/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
fetchDebianPatch,
glib,
pkg-config,
libogg,
Expand All @@ -18,6 +19,23 @@ stdenv.mkDerivation rec {
sha256 = "0hnyv3206r0rfprn3k7k6a0j959kagsfyrmyjm3gsf3vkhp5zmy1";
};

patches = [
# fix build with gcc 14
(fetchDebianPatch {
inherit pname version;
debianRevision = "2";
patch = "1075541-gcc14";
hash = "sha256-30bz7CDmbq+Bd+jTKSq7aJsXUJQAQp3nnJZvt3Qbp8Q=";
})
# fix parse of URIs containing colons (https://bugs.debian.org/873964)
(fetchDebianPatch {
inherit pname version;
debianRevision = "2";
patch = "873964-http";
hash = "sha256-D6koUCbnJHtRuq2zZy9VrxymuGXN1COacbQhphgB8qo=";
})
];

nativeBuildInputs = [ pkg-config ];
buildInputs = [
glib
Expand All @@ -26,10 +44,6 @@ stdenv.mkDerivation rec {
libmad
];

makeFlags = [
"AR:=$(AR)"
];

meta = with lib; {
homepage = "https://streamripper.sourceforge.net/";
description = "Application that lets you record streaming mp3 to your hard drive";
Expand Down