about summary refs log tree commit diff
path: root/pkgs/development/libraries/libunique/3.x.nix
blob: 678f685d4882d8365d5435dc7f57fa1fead1b063 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib, stdenv, fetchurl, pkg-config
, 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";
  };

  nativeBuildInputs = [ pkg-config gobject-introspection ];
  buildInputs = [ dbus dbus-glib gtk3 gtk-doc docbook_xml_dtd_45 docbook_xsl libxslt libxml2 ];

  meta = {
    homepage = "https://gitlab.gnome.org/Archive/unique";
    description = "A library for writing single instance applications";
    license = lib.licenses.lgpl21;
    maintainers = [ lib.maintainers.AndersonTorres ];
    platforms = lib.platforms.linux;
  };
}