159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
30 lines
701 B
Nix
30 lines
701 B
Nix
{
|
|
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 ];
|
|
};
|
|
})
|