2021-01-19 06:50:56 +00:00
|
|
|
{ stdenv, fetchurl, pkg-config
|
2018-12-02 11:41:15 +00:00
|
|
|
, dbus, dbus-glib, gtk3, gobject-introspection
|
2019-03-09 11:06:23 +00:00
|
|
|
, gtk-doc, docbook_xml_dtd_45, docbook_xsl
|
2015-01-31 22:33:53 +00:00
|
|
|
, libxslt, libxml2 }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
majorVer = "3.0";
|
|
|
|
minorVer = "2";
|
|
|
|
version = "${majorVer}.${minorVer}";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libunique3";
|
2019-03-09 11:06:23 +00:00
|
|
|
srcName = "libunique-${version}";
|
2015-01-31 22:33:53 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ftp.gnome.org/pub/GNOME/sources/libunique/${majorVer}/${srcName}.tar.xz";
|
|
|
|
sha256 = "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2019-03-09 11:06:23 +00:00
|
|
|
buildInputs = [ dbus dbus-glib gtk3 gobject-introspection gtk-doc docbook_xml_dtd_45 docbook_xsl libxslt libxml2 ];
|
2015-01-31 22:33:53 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Attic/LibUnique";
|
2015-01-31 22:33:53 +00:00
|
|
|
description = "A library for writing single instance applications";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-01-31 22:33:53 +00:00
|
|
|
};
|
|
|
|
}
|