mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
44 lines
853 B
Nix
44 lines
853 B
Nix
{
|
|
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 ];
|
|
};
|
|
})
|