mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-01 16:34:15 +03:00
Merge pull request #86969 from prusnak/wxsqlite
wxsqlite3: 3.3.1 -> 4.5.1
This commit is contained in:
commit
c2d814880a
@ -1,20 +1,23 @@
|
||||
{ stdenv, fetchFromGitHub, wxGTK, sqlite
|
||||
, darwin }:
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, wxGTK
|
||||
, sqlite
|
||||
, darwin
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "wxsqlite3";
|
||||
version = "3.3.1";
|
||||
version = "4.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "utelle";
|
||||
repo = "wxsqlite3";
|
||||
rev = "v${version}";
|
||||
sha1 = "bb8p58g88nkdcsj3h4acx7h925n2cy9g";
|
||||
sha256 = "0090f7r3blks18vifkna4l890fwaya58ajh9qblbw9065zj5hrm3";
|
||||
};
|
||||
|
||||
preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
cp build28/Info.plist.in build28/wxmac.icns build/
|
||||
'';
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
buildInputs = [ wxGTK sqlite ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa darwin.stubs.setfile darwin.stubs.rez darwin.stubs.derez ];
|
||||
|
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
||||
owner = "guanlisheng";
|
||||
repo = "wxsqliteplus";
|
||||
rev = "v${version}";
|
||||
sha1 = "yr9ysviv4hbrxn900z1wz8j32frimvx1";
|
||||
sha256 = "0mgfq813pli56mar7pdxlhwjf5k10j196rs3jd0nc8b6dkzkzlnf";
|
||||
};
|
||||
|
||||
buildInputs = [ wxGTK wxsqlite3 sqlite ];
|
||||
@ -24,12 +24,11 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp wxsqliteplus $out/bin/
|
||||
install -D wxsqliteplus $out/bin/wxsqliteplus
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://guanlisheng.com/";
|
||||
homepage = "https://github.com/guanlisheng/wxsqliteplus";
|
||||
description = "A simple SQLite database browser built with wxWidgets";
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
|
Loading…
Reference in New Issue
Block a user