1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 autoreconfHook,
6 curl,
7}:
8
9stdenv.mkDerivation (finalAttrs: {
10 pname = "libnxml";
11 version = "0.18.5";
12
13 src = fetchFromGitHub {
14 owner = "bakulf";
15 repo = "libnxml";
16 tag = finalAttrs.version;
17 hash = "sha256-6KI1bsfDgGJ4x8Wv7fcwCKm5AILa3jLnV53JY1g9B+M=";
18 };
19
20 nativeBuildInputs = [ autoreconfHook ];
21 buildInputs = [ curl ];
22
23 meta = {
24 homepage = "https://github.com/bakulf/libnxml";
25 description = "C library for parsing, writing and creating XML 1.0 and 1.1 files or streams";
26 license = lib.licenses.lgpl2;
27 platforms = lib.platforms.all;
28 maintainers = with lib.maintainers; [ sigmanificient ];
29 };
30})