2022-11-27 09:42:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, fetchpatch
|
|
|
|
, cmake
|
|
|
|
, wxGTK32
|
|
|
|
, boost
|
|
|
|
, firebird
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-11-27 09:42:12 +00:00
|
|
|
version = "0.9.3.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "flamerobin";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mariuz";
|
|
|
|
repo = "flamerobin";
|
|
|
|
rev = version;
|
2022-11-27 09:42:12 +00:00
|
|
|
sha256 = "sha256-uWx3riRc79VKh7qniWFjxxc7v6l6cW0i31HxoN1BSdA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
patches = [
|
|
|
|
# rely on compiler command line for __int128 and std::decimal::decimal128
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/mariuz/flamerobin/commit/8e0ea6d42aa28a4baeaa8c8b8b57c56eb9ae3540.patch";
|
|
|
|
sha256 = "sha256-l6LWXA/sRQGQKi798bzl0iIJ2vdvXHOjG7wdFSXv+NM=";
|
|
|
|
})
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
enableParallelBuilding = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
buildInputs = [
|
|
|
|
wxGTK32
|
|
|
|
boost
|
|
|
|
firebird
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Database administration tool for Firebird RDBMS";
|
|
|
|
homepage = "https://github.com/mariuz/flamerobin";
|
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
maintainers = with maintainers; [ uralbash ];
|
|
|
|
platforms = platforms.unix;
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "flamerobin";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|