nixpkgs/pkgs/development/libraries/wxsqlite3/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
788 B
Nix
Raw Normal View History

2021-08-09 09:32:44 +00:00
{ lib
, stdenv
2020-05-05 17:41:38 +00:00
, fetchFromGitHub
, autoreconfHook
, wxGTK
, sqlite
2021-08-09 09:32:44 +00:00
, Cocoa
, setfile
, rez
, derez
2020-05-05 17:41:38 +00:00
}:
2016-07-05 07:12:35 +00:00
stdenv.mkDerivation rec {
pname = "wxsqlite3";
2023-03-18 09:30:49 +00:00
version = "4.9.3";
2016-07-05 07:12:35 +00:00
src = fetchFromGitHub {
owner = "utelle";
repo = "wxsqlite3";
rev = "v${version}";
2023-03-18 09:30:49 +00:00
hash = "sha256-HdsPCdZF1wMTGYFaXzq+f4bUFjgCAklsKhhdyMKaxp8=";
2016-07-05 07:12:35 +00:00
};
2020-05-05 17:41:38 +00:00
nativeBuildInputs = [ autoreconfHook ];
2017-04-08 03:35:21 +00:00
2022-10-08 14:19:49 +00:00
buildInputs = [ sqlite wxGTK ]
++ lib.optionals (stdenv.isDarwin) [ Cocoa setfile rez derez ];
2016-07-05 07:12:35 +00:00
meta = with lib; {
homepage = "https://utelle.github.io/wxsqlite3/";
2016-07-05 07:12:35 +00:00
description = "A C++ wrapper around the public domain SQLite 3.x for wxWidgets";
platforms = platforms.unix;
maintainers = with maintainers; [ vrthra ];
2021-08-09 09:32:44 +00:00
license = with licenses; [ lgpl3Plus gpl3Plus ];
2016-07-05 07:12:35 +00:00
};
}