@@ -1,5 +1,5 @@
11{ stdenv, fetchFromGitHub, cmake, pkgconfig, curl, boost, liboauth, jsoncpp
2−, htmlcxx, rhash, tinyxml-2, help2man }:
2+, htmlcxx, rhash, tinyxml-2, help2man, fetchpatch }:
33
44stdenv.mkDerivation rec {
55 pname = "lgogdownloader";
@@ -16,6 +16,14 @@ stdenv.mkDerivation rec {
1616
1717 buildInputs = [ curl boost liboauth jsoncpp htmlcxx rhash tinyxml-2 ];
1818
19+ patches = [
20+ # Fix find_path for newer jsoncpp. Remove with the next release
21+ (fetchpatch {
22+ url = "https://github.com/Sude-/lgogdownloader/commit/ff353126ecda61824cf866d3807c9ebada96282e.patch";
23+ sha256 = "1xr1lwxlrncrj662s9l1is1x1mhs1jbwlj8qafixz5hw2kx22w19";
24+ })
25+ ];
26+
1927 meta = {
2028 homepage = https://github.com/Sude-/lgogdownloader;
2129 description = "Unofficial downloader to GOG.com for Linux users. It uses the same API as the official GOGDownloader";