Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / flamerobin / default.nix
blob5fd805994a6e54afe1a08e8cc6944c8119dfdb14
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , fetchpatch
5 , cmake
6 , wxGTK32
7 , boost
8 , firebird
9 }:
11 stdenv.mkDerivation rec {
12   version = "0.9.3.12";
13   pname = "flamerobin";
15   src = fetchFromGitHub {
16     owner = "mariuz";
17     repo = "flamerobin";
18     rev = version;
19     sha256 = "sha256-uWx3riRc79VKh7qniWFjxxc7v6l6cW0i31HxoN1BSdA=";
20   };
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   ];
30   enableParallelBuilding = true;
32   nativeBuildInputs = [ cmake ];
34   buildInputs = [
35     wxGTK32
36     boost
37     firebird
38   ];
40   meta = with lib; {
41     description = "Database administration tool for Firebird RDBMS";
42     homepage = "https://github.com/mariuz/flamerobin";
43     license = licenses.bsdOriginal;
44     maintainers = with maintainers; [ uralbash ];
45     platforms = platforms.unix;
46   };