libmrss: 0.19.2 -> 0.19.4; build from source

This commit is contained in:
Sigmanificient 2024-08-14 11:38:26 +02:00
parent e7f425a383
commit e01bbe9818
3 changed files with 43 additions and 25 deletions

View File

@ -0,0 +1,43 @@
{
lib,
stdenv,
fetchFromGitHub,
curl,
libnxml,
autoreconfHook,
pkg-config,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libmrss";
version = "0.19.4";
src = fetchFromGitHub {
owner = "bakulf";
repo = "libmrss";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-sllY0Q8Ct7XJn4A3N8xQCUqaHXubPoB49gBZS1vURBs=";
};
postPatch = ''
touch NEWS # https://github.com/bakulf/libmrss/issues/3
'';
nativeBuildInputs = [
autoreconfHook
pkg-config
];
propagatedBuildInputs = [
curl
libnxml
];
meta = {
homepage = "https://github.com/bakulf/libmrss";
description = "C library for parsing, writing and creating RSS/ATOM files or streams";
license = lib.licenses.lgpl2;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ sigmanificient ];
};
})

View File

@ -1,23 +0,0 @@
{lib, stdenv, fetchurl, curl, libnxml, pkg-config}:
stdenv.mkDerivation rec {
pname = "libmrss";
version = "0.19.2";
src = fetchurl {
url = "https://www.autistici.org/bakunin/libmrss/libmrss-${version}.tar.gz";
sha256 = "02r1bgj8qlkn63xqfi5yq8y7wrilxcnkycaag8qskhg5ranic507";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ curl libnxml ];
meta = {
homepage = "http://www.autistici.org/bakunin/libmrss/doc";
description = "C library for parsing, writing and creating RSS/ATOM files or streams";
license = lib.licenses.lgpl2;
platforms = lib.platforms.all;
maintainers = [ ];
};
}

View File

@ -22025,8 +22025,6 @@ with pkgs;
libmp3splt = callPackage ../development/libraries/libmp3splt { };
libmrss = callPackage ../development/libraries/libmrss { };
libmspack = callPackage ../development/libraries/libmspack { };
libmusicbrainz3 = callPackage ../development/libraries/libmusicbrainz { };