2015-01-31 22:33:53 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig
|
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}";
|
|
|
|
name = "libunique3-${version}";
|
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";
|
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
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 = {
|
|
|
|
homepage = https://wiki.gnome.org/Attic/LibUnique;
|
|
|
|
description = "A library for writing single instance applications";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-01-31 22:33:53 +00:00
|
|
|
};
|
|
|
|
}
|