2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, dbus, dbus-glib, gtk3, gobject-introspection
|
|
|
|
, gtk-doc, docbook_xml_dtd_45, docbook_xsl
|
|
|
|
, libxslt, libxml2 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
majorVer = "3.0";
|
|
|
|
minorVer = "2";
|
|
|
|
version = "${majorVer}.${minorVer}";
|
|
|
|
pname = "libunique3";
|
|
|
|
srcName = "libunique-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ftp.gnome.org/pub/GNOME/sources/libunique/${majorVer}/${srcName}.tar.xz";
|
|
|
|
sha256 = "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58";
|
|
|
|
};
|
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
nativeBuildInputs = [ pkg-config gobject-introspection ];
|
|
|
|
buildInputs = [ dbus dbus-glib gtk3 gtk-doc docbook_xml_dtd_45 docbook_xsl libxslt libxml2 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
2024-05-15 15:35:15 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/Archive/unique";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Library for writing single instance applications";
|
2023-02-02 18:25:31 +00:00
|
|
|
license = lib.licenses.lgpl21;
|
|
|
|
maintainers = [ lib.maintainers.AndersonTorres ];
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|