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