tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
flamerobin: 0.9.3.1 -> 0.9.3.12
Weijia Wang
3 years ago
b2c5490f
6760c8b4
+24
-10
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
flamerobin
default.nix
+24
-10
pkgs/applications/misc/flamerobin/default.nix
···
1
1
-
{ lib, stdenv, fetchFromGitHub, wxGTK30, boost, firebird }:
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, fetchpatch
5
5
+
, cmake
6
6
+
, wxGTK32
7
7
+
, boost
8
8
+
, firebird
9
9
+
}:
2
10
3
11
stdenv.mkDerivation rec {
4
4
-
version = "0.9.3.1";
12
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
11
-
sha256 = "1wwcsca01hpgi9z5flvbdhs9zv7jvahnbn97j6ymy0hdyb8lv6si";
19
19
+
sha256 = "sha256-uWx3riRc79VKh7qniWFjxxc7v6l6cW0i31HxoN1BSdA=";
12
20
};
13
21
14
14
-
enableParallelBuilding = true;
22
22
+
patches = [
23
23
+
# rely on compiler command line for __int128 and std::decimal::decimal128
24
24
+
(fetchpatch {
25
25
+
url = "https://github.com/mariuz/flamerobin/commit/8e0ea6d42aa28a4baeaa8c8b8b57c56eb9ae3540.patch";
26
26
+
sha256 = "sha256-l6LWXA/sRQGQKi798bzl0iIJ2vdvXHOjG7wdFSXv+NM=";
27
27
+
})
28
28
+
];
15
29
16
16
-
buildInputs = [ wxGTK30 boost firebird ];
30
30
+
enableParallelBuilding = true;
17
31
18
18
-
preBuild = ''
19
19
-
sed -i 's/CXXFLAGS = -g -O2/CXXFLAGS = -g -O2 -nostartfiles/' Makefile
20
20
-
'';
32
32
+
nativeBuildInputs = [ cmake ];
21
33
22
22
-
configureFlags = [
23
23
-
"--disable-debug"
34
34
+
buildInputs = [
35
35
+
wxGTK32
36
36
+
boost
37
37
+
firebird
24
38
];
25
39
26
40
meta = with lib; {