mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
e979d7ad2f
Major Xfce refactoring, also adding versions 4.10.* Signed-off-by: Vladimír Čunát <vcunat@gmail.com>
32 lines
844 B
Nix
32 lines
844 B
Nix
{ stdenv, fetchurl, pkgconfig, glib, gtk, dbus_glib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libunique-1.1.6";
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/libunique/1.1/${name}.tar.bz2";
|
|
sha256 = "1fsgvmncd9caw552lyfg8swmsd6bh4ijjsph69bwacwfxwf09j75";
|
|
};
|
|
|
|
# patches from Gentoo portage
|
|
patches = [
|
|
./1.1.6-compiler-warnings.patch
|
|
./1.1.6-fix-test.patch
|
|
./1.1.6-G_CONST_RETURN.patch
|
|
./1.1.6-include-terminator.patch
|
|
];
|
|
|
|
buildInputs = [ pkgconfig glib gtk dbus_glib ];
|
|
|
|
# don't make deprecated usages hard errors
|
|
preBuildPhases = "preBuild";
|
|
preBuild = ''substituteInPlace unique/dbus/Makefile --replace -Werror ""'';
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = http://live.gnome.org/LibUnique;
|
|
description = "A library for writing single instance applications";
|
|
license = "LGPLv2.1";
|
|
};
|
|
}
|