sqlite_orm: 1.9 -> 1.9.1 (#379250)
[NixPkgs.git] / pkgs / by-name / fl / flamerobin / package.nix
bloba49ed58d3859298dc2c441dae3695e9b813589dd
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   fetchpatch,
6   cmake,
7   wxGTK32,
8   boost,
9   firebird,
12 stdenv.mkDerivation rec {
13   version = "0.9.3.12";
14   pname = "flamerobin";
16   src = fetchFromGitHub {
17     owner = "mariuz";
18     repo = "flamerobin";
19     rev = version;
20     sha256 = "sha256-uWx3riRc79VKh7qniWFjxxc7v6l6cW0i31HxoN1BSdA=";
21   };
23   patches = [
24     # rely on compiler command line for __int128 and std::decimal::decimal128
25     (fetchpatch {
26       url = "https://github.com/mariuz/flamerobin/commit/8e0ea6d42aa28a4baeaa8c8b8b57c56eb9ae3540.patch";
27       sha256 = "sha256-l6LWXA/sRQGQKi798bzl0iIJ2vdvXHOjG7wdFSXv+NM=";
28     })
29   ];
31   enableParallelBuilding = true;
33   nativeBuildInputs = [ cmake ];
35   buildInputs = [
36     wxGTK32
37     boost
38     firebird
39   ];
41   meta = with lib; {
42     description = "Database administration tool for Firebird RDBMS";
43     homepage = "https://github.com/mariuz/flamerobin";
44     license = licenses.bsdOriginal;
45     maintainers = with maintainers; [ uralbash ];
46     platforms = platforms.unix;
47     mainProgram = "flamerobin";
48   };