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
-
{ lib, stdenv, fetchFromGitHub, wxGTK30, boost, firebird }:
0
0
0
0
0
0
0
0
2
3
stdenv.mkDerivation rec {
4
-
version = "0.9.3.1";
5
pname = "flamerobin";
6
7
src = fetchFromGitHub {
8
owner = "mariuz";
9
repo = "flamerobin";
10
rev = version;
11
-
sha256 = "1wwcsca01hpgi9z5flvbdhs9zv7jvahnbn97j6ymy0hdyb8lv6si";
12
};
13
14
-
enableParallelBuilding = true;
0
0
0
0
0
0
15
16
-
buildInputs = [ wxGTK30 boost firebird ];
17
18
-
preBuild = ''
19
-
sed -i 's/CXXFLAGS = -g -O2/CXXFLAGS = -g -O2 -nostartfiles/' Makefile
20
-
'';
21
22
-
configureFlags = [
23
-
"--disable-debug"
0
0
24
];
25
26
meta = with lib; {
···
1
+
{ lib
2
+
, stdenv
3
+
, fetchFromGitHub
4
+
, fetchpatch
5
+
, cmake
6
+
, wxGTK32
7
+
, boost
8
+
, firebird
9
+
}:
10
11
stdenv.mkDerivation rec {
12
+
version = "0.9.3.12";
13
pname = "flamerobin";
14
15
src = fetchFromGitHub {
16
owner = "mariuz";
17
repo = "flamerobin";
18
rev = version;
19
+
sha256 = "sha256-uWx3riRc79VKh7qniWFjxxc7v6l6cW0i31HxoN1BSdA=";
20
};
21
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
+
];
29
30
+
enableParallelBuilding = true;
31
32
+
nativeBuildInputs = [ cmake ];
0
0
33
34
+
buildInputs = [
35
+
wxGTK32
36
+
boost
37
+
firebird
38
];
39
40
meta = with lib; {