summary refs log tree commit diff
diff options
context:
space:
mode:
authorSvintsov Dmitry <root@uralbash.ru>2016-05-06 00:52:47 +0500
committerSvintsov Dmitry <root@uralbash.ru>2016-05-06 01:45:43 +0500
commit8658f9fe5c415b96a28e8857381ea2b150f832a1 (patch)
treeabd0580e05d4e80138a63493b994b6ef46914e1d
parentdebc3170667f2f2d964a870d52b0b9543dad860f (diff)
downloadnixpkgs-8658f9fe5c415b96a28e8857381ea2b150f832a1.tar
nixpkgs-8658f9fe5c415b96a28e8857381ea2b150f832a1.tar.gz
nixpkgs-8658f9fe5c415b96a28e8857381ea2b150f832a1.tar.bz2
nixpkgs-8658f9fe5c415b96a28e8857381ea2b150f832a1.tar.lz
nixpkgs-8658f9fe5c415b96a28e8857381ea2b150f832a1.tar.xz
nixpkgs-8658f9fe5c415b96a28e8857381ea2b150f832a1.tar.zst
nixpkgs-8658f9fe5c415b96a28e8857381ea2b150f832a1.zip
flamerobin: init at 0.9.3.1
-rw-r--r--pkgs/applications/misc/flamerobin/default.nix33
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/applications/misc/flamerobin/default.nix b/pkgs/applications/misc/flamerobin/default.nix
new file mode 100644
index 00000000000..23d0d682176
--- /dev/null
+++ b/pkgs/applications/misc/flamerobin/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, fetchFromGitHub, wxGTK30, boost, firebird }:
+
+stdenv.mkDerivation rec {
+  version = "0.9.3.1";
+  name = "flamerobin-${version}";
+
+  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;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 47743e7b20a..944a9f37ae4 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -1514,6 +1514,8 @@ in
 
   fio = callPackage ../tools/system/fio { };
 
+  flamerobin = callPackage ../applications/misc/flamerobin { };
+
   flashtool = callPackage_i686 ../development/mobile/flashtool {
     platformTools = androidenv.platformTools;
   };