depot/third_party/nixpkgs/pkgs/development/libraries/libunique/3.x.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

29 lines
929 B
Nix

{ 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 = "Library for writing single instance applications";
license = lib.licenses.lgpl21;
maintainers = [ lib.maintainers.AndersonTorres ];
platforms = lib.platforms.linux;
};
}