flamerobin: 0.9.3.1 -> 0.9.3.12
This commit is contained in:
parent
6760c8b488
commit
b2c5490fdf
|
@ -1,26 +1,40 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, wxGTK30, boost, firebird }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
|
, cmake
|
||||||
|
, wxGTK32
|
||||||
|
, boost
|
||||||
|
, firebird
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.9.3.1";
|
version = "0.9.3.12";
|
||||||
pname = "flamerobin";
|
pname = "flamerobin";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mariuz";
|
owner = "mariuz";
|
||||||
repo = "flamerobin";
|
repo = "flamerobin";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1wwcsca01hpgi9z5flvbdhs9zv7jvahnbn97j6ymy0hdyb8lv6si";
|
sha256 = "sha256-uWx3riRc79VKh7qniWFjxxc7v6l6cW0i31HxoN1BSdA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# rely on compiler command line for __int128 and std::decimal::decimal128
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/mariuz/flamerobin/commit/8e0ea6d42aa28a4baeaa8c8b8b57c56eb9ae3540.patch";
|
||||||
|
sha256 = "sha256-l6LWXA/sRQGQKi798bzl0iIJ2vdvXHOjG7wdFSXv+NM=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
buildInputs = [ wxGTK30 boost firebird ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
preBuild = ''
|
buildInputs = [
|
||||||
sed -i 's/CXXFLAGS = -g -O2/CXXFLAGS = -g -O2 -nostartfiles/' Makefile
|
wxGTK32
|
||||||
'';
|
boost
|
||||||
|
firebird
|
||||||
configureFlags = [
|
|
||||||
"--disable-debug"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue