about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/flamerobin/default.nix
blob: 2e389c753e2ed8f6f0194e2d702398a75967c8c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ stdenv, fetchFromGitHub, wxGTK30, boost, firebird }:

stdenv.mkDerivation rec {
  version = "0.9.3.1";
  pname = "flamerobin";

  src = fetchFromGitHub {
    owner = "mariuz";
    repo = "flamerobin";
    rev = version;
    sha256 = "1wwcsca01hpgi9z5flvbdhs9zv7jvahnbn97j6ymy0hdyb8lv6si";
  };

  enableParallelBuilding = true;

  buildInputs = [ wxGTK30 boost firebird ];

  preBuild = ''
    sed -i 's/CXXFLAGS = -g -O2/CXXFLAGS = -g -O2 -nostartfiles/' Makefile
  '';

  configureFlags = [
    "--disable-debug"
  ];

  meta = with stdenv.lib; {
    description = "Database administration tool for Firebird RDBMS";
    homepage = "https://github.com/mariuz/flamerobin";
    license = licenses.bsdOriginal;
    maintainers = with maintainers; [ uralbash ];
    platforms = platforms.unix;
  };
}