peek: build with vala_0_40
Fixes https://github.com/NixOS/nixpkgs/issues/58433
This commit is contained in:
parent
b61fba0ce9
commit
b556663201
@ -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
|
, gsettings-desktop-schemas, gtk3, keybinder3, ffmpeg
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "peek-${version}";
|
pname = "peek";
|
||||||
version = "1.3.1";
|
version = "1.3.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "phw";
|
owner = "phw";
|
||||||
repo = "peek";
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1fnvlklmg6s5rs3ql74isa5fgdkqqrpsyf8k2spxj520239l4vgb";
|
sha256 = "1fnvlklmg6s5rs3ql74isa5fgdkqqrpsyf8k2spxj520239l4vgb";
|
||||||
};
|
};
|
||||||
@ -17,9 +17,21 @@ stdenv.mkDerivation rec {
|
|||||||
gappsWrapperArgs+=(--prefix PATH : ${stdenv.lib.makeBinPath [ ffmpeg ]})
|
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;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user