nixpkgs/pkgs/by-name/li/libnxml/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
701 B
Nix
Raw Normal View History

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
curl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libnxml";
version = "0.18.5";
src = fetchFromGitHub {
owner = "bakulf";
repo = "libnxml";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-6KI1bsfDgGJ4x8Wv7fcwCKm5AILa3jLnV53JY1g9B+M=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ curl ];
meta = {
homepage = "https://github.com/bakulf/libnxml";
description = "C library for parsing, writing and creating XML 1.0 and 1.1 files or streams";
license = lib.licenses.lgpl2;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ sigmanificient ];
};
})