castget: 2.0.1 -> 2.0.1-unstable-2025-01-25; unbreak (#389161)
This commit is contained in:
@@ -1,23 +1,32 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchFromGitHub,
|
||||
|
||||
# native
|
||||
autoreconfHook,
|
||||
glibcLocales,
|
||||
pkg-config,
|
||||
glib,
|
||||
ronn,
|
||||
|
||||
# host
|
||||
curl,
|
||||
glib,
|
||||
id3lib,
|
||||
libxml2,
|
||||
glibcLocales,
|
||||
taglib,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
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 {
|
||||
url = "http://savannah.nongnu.org/download/castget/castget-${finalAttrs.version}.tar.bz2";
|
||||
hash = "sha256-Q4tffsfjGkXtN1ZjD+RH9CAVrNpT7AkgL0hihya16HU=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mlj";
|
||||
repo = "castget";
|
||||
rev = "e97b179227b4fc7e2e2bc5a373933624c0467daa";
|
||||
hash = "sha256-3t/N8JO36wjHuzIdWNstRWphC/ZR6KkZX0l9yKarS7c=";
|
||||
};
|
||||
|
||||
# without this, the build fails because of an encoding issue with the manual page.
|
||||
@@ -29,19 +38,20 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
curl
|
||||
glib
|
||||
id3lib
|
||||
libxml2
|
||||
taglib
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
ronn
|
||||
autoreconfHook
|
||||
# See comment on locale above
|
||||
glibcLocales
|
||||
pkg-config
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Simple, command-line based RSS enclosure downloader";
|
||||
mainProgram = "castget";
|
||||
longDescription = ''
|
||||
@@ -49,8 +59,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
primarily intended for automatic, unattended downloading of podcasts.
|
||||
'';
|
||||
homepage = "https://castget.johndal.com/";
|
||||
maintainers = with maintainers; [ doronbehar ];
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
changelog = "https://github.com/mlj/castget/blob/${finalAttrs.version}/CHANGES.md";
|
||||
maintainers = with lib.maintainers; [ doronbehar ];
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user