depot/third_party/nixpkgs/pkgs/development/libraries/libunique/3.x.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

30 lines
932 B
Nix

{ lib, stdenv, fetchurl, pkg-config
, dbus, dbus-glib, gtk3, gobject-introspection
, gtk-doc, docbook_xml_dtd_45, docbook_xsl
, libxslt, libxml2 }:
with lib;
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 ];
buildInputs = [ dbus dbus-glib gtk3 gobject-introspection gtk-doc 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 = lib.platforms.linux;
};
}