flamerobin: 0.9.3.1 -> 0.9.3.12

+24 -10
+24 -10
pkgs/applications/misc/flamerobin/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, wxGTK30, boost, firebird }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , fetchpatch 5 + , cmake 6 + , wxGTK32 7 + , boost 8 + , firebird 9 + }: 2 10 3 11 stdenv.mkDerivation rec { 4 - version = "0.9.3.1"; 12 + version = "0.9.3.12"; 5 13 pname = "flamerobin"; 6 14 7 15 src = fetchFromGitHub { 8 16 owner = "mariuz"; 9 17 repo = "flamerobin"; 10 18 rev = version; 11 - sha256 = "1wwcsca01hpgi9z5flvbdhs9zv7jvahnbn97j6ymy0hdyb8lv6si"; 19 + sha256 = "sha256-uWx3riRc79VKh7qniWFjxxc7v6l6cW0i31HxoN1BSdA="; 12 20 }; 13 21 14 - enableParallelBuilding = true; 22 + patches = [ 23 + # rely on compiler command line for __int128 and std::decimal::decimal128 24 + (fetchpatch { 25 + url = "https://github.com/mariuz/flamerobin/commit/8e0ea6d42aa28a4baeaa8c8b8b57c56eb9ae3540.patch"; 26 + sha256 = "sha256-l6LWXA/sRQGQKi798bzl0iIJ2vdvXHOjG7wdFSXv+NM="; 27 + }) 28 + ]; 15 29 16 - buildInputs = [ wxGTK30 boost firebird ]; 30 + enableParallelBuilding = true; 17 31 18 - preBuild = '' 19 - sed -i 's/CXXFLAGS = -g -O2/CXXFLAGS = -g -O2 -nostartfiles/' Makefile 20 - ''; 32 + nativeBuildInputs = [ cmake ]; 21 33 22 - configureFlags = [ 23 - "--disable-debug" 34 + buildInputs = [ 35 + wxGTK32 36 + boost 37 + firebird 24 38 ]; 25 39 26 40 meta = with lib; {