qalculate-gtk: 3.12.1 -> 3.13.0
This commit is contained in:
parent
08cc63b20b
commit
9fadca2bcc
@ -2,27 +2,15 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qalculate-gtk";
|
||||
version = "3.12.1";
|
||||
version = "3.13.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "qalculate";
|
||||
repo = "qalculate-gtk";
|
||||
rev = "v${version}";
|
||||
sha256 = "0ylsxj9rn3dc1grn9w6jisci3ak0hxgbwzqp54azs3aj5cmvkfgg";
|
||||
sha256 = "0yrzvsii84r9d2i2hrs4f65wzv3yj24l9d9yqfv3j85881h8wkm2";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
# The gnome-search-provider2.c file generated by gdbus-codegen depends
|
||||
# on gio-unix-2.0, which is a Requires.private of gtk+-3.0,
|
||||
# and private dependencies are dropped in our default patched pkg-config.
|
||||
# https://github.com/Qalculate/qalculate-gtk/pull/178
|
||||
# https://github.com/NixOS/nixpkgs/issues/292
|
||||
substituteInPlace configure.ac --replace 'libxml-2.0' 'libxml-2.0 gio-unix-2.0'
|
||||
|
||||
# https://github.com/Qalculate/qalculate-gtk/pull/179
|
||||
echo searchprovider.o: gnome-search-provider2.c >>src/Makefile.am
|
||||
'';
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
nativeBuildInputs = [ intltool pkgconfig autoreconfHook wrapGAppsHook ];
|
||||
|
Loading…
Reference in New Issue
Block a user