git.iko.soy/typeable/nixpkgs
on master help sign in
lgogdownloader: fix build
commit6b935eb62a7616ad87cd428f1b34a8fb46548a4d authorMario Rodas <marsam@users.noreply.github.com> dateWed 18 Dec 2019, 04:20 (7 years ago) parentd7a0236
1 file changed+9−1
pkgs/games/lgogdownloader/default.nix+9−1
pkgs/games/lgogdownloader/default.nix+9−1
@@ -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";