mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #16734 from vrthra/wxsqlite3
wxsqliteplus: init at 0.3.6
This commit is contained in:
commit
30e08502fa
2 changed files with 42 additions and 0 deletions
38
pkgs/development/libraries/wxsqliteplus/default.nix
Normal file
38
pkgs/development/libraries/wxsqliteplus/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ stdenv, fetchFromGitHub, wxGTK, wxsqlite3, sqlite }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "wxsqliteplus-${version}";
|
||||
version = "0.3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "guanlisheng";
|
||||
repo = "wxsqliteplus";
|
||||
rev = "v${version}";
|
||||
sha1 = "yr9ysviv4hbrxn900z1wz8j32frimvx1";
|
||||
};
|
||||
|
||||
buildInputs = [ wxGTK wxsqlite3 sqlite ];
|
||||
|
||||
makeFlags = [
|
||||
"LDFLAGS=-L${wxsqlite3}/lib"
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
sed -ie 's|all: $(LIBPREFIX)wxsqlite$(LIBEXT)|all: |g' Makefile
|
||||
sed -ie 's|wxsqliteplus$(EXEEXT): $(WXSQLITEPLUS_OBJECTS) $(LIBPREFIX)wxsqlite$(LIBEXT)|wxsqliteplus$(EXEEXT): $(WXSQLITEPLUS_OBJECTS) |g' Makefile
|
||||
sed -ie 's|-lwxsqlite |-lwxcode_gtk2u_wxsqlite3-3.0 |g' Makefile
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp wxsqliteplus $out/bin/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://guanlisheng.com/;
|
||||
description = "A simple SQLite database browser built with wxWidgets";
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
}
|
|
@ -17216,6 +17216,10 @@ in
|
|||
wxGTK = wxGTK30;
|
||||
};
|
||||
|
||||
wxsqliteplus = callPackage ../development/libraries/wxsqliteplus {
|
||||
wxGTK = wxGTK30;
|
||||
};
|
||||
|
||||
x2x = callPackage ../tools/X11/x2x { };
|
||||
|
||||
xboxdrv = callPackage ../misc/drivers/xboxdrv { };
|
||||
|
|
Loading…
Reference in a new issue