peek: build with vala_0_40

Fixes https://github.com/NixOS/nixpkgs/issues/58433
This commit is contained in:
worldofpeace 2019-03-30 14:09:31 -04:00
parent b61fba0ce9
commit b556663201

View File

@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, cmake, gettext, libxml2, pkgconfig, txt2man, vala, wrapGAppsHook
{ stdenv, fetchFromGitHub, cmake, gettext, libxml2, pkgconfig, txt2man, vala_0_40, wrapGAppsHook
, gsettings-desktop-schemas, gtk3, keybinder3, ffmpeg
}:
stdenv.mkDerivation rec {
name = "peek-${version}";
pname = "peek";
version = "1.3.1";
src = fetchFromGitHub {
owner = "phw";
repo = "peek";
repo = pname;
rev = version;
sha256 = "1fnvlklmg6s5rs3ql74isa5fgdkqqrpsyf8k2spxj520239l4vgb";
};
@ -17,9 +17,21 @@ stdenv.mkDerivation rec {
gappsWrapperArgs+=(--prefix PATH : ${stdenv.lib.makeBinPath [ ffmpeg ]})
'';
nativeBuildInputs = [ cmake gettext pkgconfig libxml2.bin txt2man vala wrapGAppsHook ];
nativeBuildInputs = [
cmake
gettext
pkgconfig
libxml2.bin
txt2man
vala_0_40 # See https://github.com/NixOS/nixpkgs/issues/58433
wrapGAppsHook
];
buildInputs = [ gsettings-desktop-schemas gtk3 keybinder3 ];
buildInputs = [
gsettings-desktop-schemas
gtk3
keybinder3
];
enableParallelBuilding = true;