libxmlxx3: add updateScript

This commit is contained in:
Jan Tojnar 2021-10-14 23:22:27 +02:00
parent 92aca820b2
commit ca2d815d58

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pkg-config, libxml2, glibmm, perl }:
{ lib, stdenv, fetchurl, pkg-config, libxml2, glibmm, perl, gnome }:
stdenv.mkDerivation rec {
pname = "libxml++";
@ -22,6 +22,15 @@ stdenv.mkDerivation rec {
--replace 'docdir=''${datarootdir}' "docdir=$doc/share"
'';
passthru = {
updateScript = gnome.updateScript {
attrPath = "libxmlxx3";
packageName = pname;
versionPolicy = "odd-unstable";
freeze = true;
};
};
meta = with lib; {
homepage = "http://libxmlplusplus.sourceforge.net/";
description = "C++ wrapper for the libxml2 XML parser library, version 3";