2015-01-31 23:33:53 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig
|
2018-12-02 12:41:15 +01:00
|
|
|
, dbus, dbus-glib, gtk3, gobject-introspection
|
2019-03-09 12:06:23 +01:00
|
|
|
, gtk-doc, docbook_xml_dtd_45, docbook_xsl
|
2015-01-31 23:33:53 +01:00
|
|
|
, libxslt, libxml2 }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
majorVer = "3.0";
|
|
|
|
minorVer = "2";
|
|
|
|
version = "${majorVer}.${minorVer}";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "libunique3";
|
2019-03-09 12:06:23 +01:00
|
|
|
srcName = "libunique-${version}";
|
2015-01-31 23:33:53 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ftp.gnome.org/pub/GNOME/sources/libunique/${majorVer}/${srcName}.tar.xz";
|
|
|
|
sha256 = "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58";
|
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2019-03-09 12:06:23 +01:00
|
|
|
buildInputs = [ dbus dbus-glib gtk3 gobject-introspection gtk-doc docbook_xml_dtd_45 docbook_xsl libxslt libxml2 ];
|
2015-01-31 23:33:53 +01: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 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-01-31 23:33:53 +01:00
|
|
|
};
|
|
|
|
}
|