mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
flamerobin: 0.9.3.1 -> 0.9.3.12
This commit is contained in:
parent
6760c8b488
commit
b2c5490fdf
1 changed files with 24 additions and 10 deletions
|
@ -1,26 +1,40 @@
|
|||
{ lib, stdenv, fetchFromGitHub, wxGTK30, boost, firebird }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, cmake
|
||||
, wxGTK32
|
||||
, boost
|
||||
, firebird
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.9.3.1";
|
||||
version = "0.9.3.12";
|
||||
pname = "flamerobin";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mariuz";
|
||||
repo = "flamerobin";
|
||||
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;
|
||||
|
||||
buildInputs = [ wxGTK30 boost firebird ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
preBuild = ''
|
||||
sed -i 's/CXXFLAGS = -g -O2/CXXFLAGS = -g -O2 -nostartfiles/' Makefile
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--disable-debug"
|
||||
buildInputs = [
|
||||
wxGTK32
|
||||
boost
|
||||
firebird
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue