nixpkgs/pkgs/development/libraries/libunique/3.x.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

30 lines
918 B
Nix

{ stdenv, fetchurl, pkgconfig
, dbus, dbus_glib, gtk3, gobjectIntrospection
, gtkdoc, docbook_xml_dtd_45, docbook_xsl
, libxslt, libxml2 }:
with stdenv.lib;
stdenv.mkDerivation rec {
majorVer = "3.0";
minorVer = "2";
version = "${majorVer}.${minorVer}";
name = "libunique3-${version}";
srcName = "libunique-${version}";
src = fetchurl {
url = "http://ftp.gnome.org/pub/GNOME/sources/libunique/${majorVer}/${srcName}.tar.xz";
sha256 = "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58";
};
buildInputs = [ pkgconfig dbus dbus_glib gtk3 gobjectIntrospection gtkdoc docbook_xml_dtd_45 docbook_xsl libxslt libxml2 ];
meta = {
homepage = https://wiki.gnome.org/Attic/LibUnique;
description = "A library for writing single instance applications";
license = licenses.lgpl21;
maintainers = [ maintainers.AndersonTorres ];
platforms = stdenv.lib.platforms.linux;
};
}