castget: 2.0.1 -> 2.0.1-unstable-2025-01-25; unbreak

This commit is contained in:
Doron Behar 2025-03-12 09:50:02 +02:00
parent f68a79f0b7
commit 4212b6ee34

View file

@ -1,27 +1,32 @@
{ {
lib, lib,
stdenv, stdenv,
fetchurl, fetchFromGitHub,
# native # native
autoreconfHook,
glibcLocales, glibcLocales,
pkg-config, pkg-config,
ronn,
# host # host
curl, curl,
glib, glib,
id3lib, id3lib,
libxml2, libxml2,
taglib,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "castget"; pname = "castget";
version = "2.0.1"; # Using unstable version since it doesn't require `ronn`, see:
# https://github.com/mlj/castget/commit/e97b179227b4fc7e2e2bc5a373933624c0467daa
version = "2.0.1-unstable-2025-01-25";
src = fetchurl { src = fetchFromGitHub {
url = "http://savannah.nongnu.org/download/castget/castget-${finalAttrs.version}.tar.bz2"; owner = "mlj";
hash = "sha256-Q4tffsfjGkXtN1ZjD+RH9CAVrNpT7AkgL0hihya16HU="; repo = "castget";
rev = "e97b179227b4fc7e2e2bc5a373933624c0467daa";
hash = "sha256-3t/N8JO36wjHuzIdWNstRWphC/ZR6KkZX0l9yKarS7c=";
}; };
# without this, the build fails because of an encoding issue with the manual page. # without this, the build fails because of an encoding issue with the manual page.
@ -37,12 +42,13 @@ stdenv.mkDerivation (finalAttrs: {
glib glib
id3lib id3lib
libxml2 libxml2
taglib
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
autoreconfHook
# See comment on locale above # See comment on locale above
glibcLocales glibcLocales
pkg-config pkg-config
ronn
]; ];
meta = { meta = {