Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{lib, stdenv, fetchurl, curl}: 2 3stdenv.mkDerivation rec { 4 pname = "libnxml"; 5 version = "0.18.3"; 6 7 src = fetchurl { 8 url = "https://www.autistici.org/bakunin/libnxml/libnxml-${version}.tar.gz"; 9 sha256 = "0ix5b9bxd7r517vhgcxwdviq4m0g0pq46s5g3h04gcqnpbin150g"; 10 }; 11 12 buildInputs = [ curl ]; 13 14 meta = { 15 homepage = "https://www.autistici.org/bakunin/libnxml/"; 16 description = "C library for parsing, writing and creating XML 1.0 and 1.1 files or streams"; 17 license = lib.licenses.lgpl2; 18 19 platforms = lib.platforms.all; 20 maintainers = [ lib.maintainers.viric ]; 21 }; 22}