libnxml: 0.18.3 -> 0.18.5; build from source

move

remove all pkgs libnxml
This commit is contained in:
Sigmanificient 2024-08-14 11:30:53 +02:00
parent 2dfa14cc54
commit e7f425a383
3 changed files with 30 additions and 24 deletions

View File

@ -0,0 +1,30 @@
{
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 ];
};
})

View File

@ -1,22 +0,0 @@
{lib, stdenv, fetchurl, curl}:
stdenv.mkDerivation rec {
pname = "libnxml";
version = "0.18.3";
src = fetchurl {
url = "https://www.autistici.org/bakunin/libnxml/libnxml-${version}.tar.gz";
sha256 = "0ix5b9bxd7r517vhgcxwdviq4m0g0pq46s5g3h04gcqnpbin150g";
};
buildInputs = [ curl ];
meta = {
homepage = "https://www.autistici.org/bakunin/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 = [ ];
};
}

View File

@ -22063,8 +22063,6 @@ with pkgs;
libnova = callPackage ../development/libraries/science/astronomy/libnova { };
libnxml = callPackage ../development/libraries/libnxml { };
libodfgen = callPackage ../development/libraries/libodfgen { };
libofa = callPackage ../development/libraries/libofa { };