depot/third_party/nixpkgs/pkgs/by-name/li/libmrss/package.nix

44 lines
853 B
Nix
Raw Normal View History

{
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 ];
};
})