Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, stdenv 3, fetchFromGitHub 4, autoreconfHook 5, wxGTK 6, sqlite 7, Cocoa 8, setfile 9, rez 10, derez 11}: 12 13stdenv.mkDerivation rec { 14 pname = "wxsqlite3"; 15 version = "4.9.4"; 16 17 src = fetchFromGitHub { 18 owner = "utelle"; 19 repo = "wxsqlite3"; 20 rev = "v${version}"; 21 hash = "sha256-aM79DI/Kj1QEIJ1HMttlfqK/WZER9RJhQbrnbPto57U="; 22 }; 23 24 nativeBuildInputs = [ autoreconfHook ]; 25 26 buildInputs = [ sqlite wxGTK ] 27 ++ lib.optionals (stdenv.isDarwin) [ Cocoa setfile rez derez ]; 28 29 meta = with lib; { 30 homepage = "https://utelle.github.io/wxsqlite3/"; 31 description = "A C++ wrapper around the public domain SQLite 3.x for wxWidgets"; 32 platforms = platforms.unix; 33 maintainers = with maintainers; [ vrthra ]; 34 license = with licenses; [ lgpl3Plus gpl3Plus ]; 35 }; 36}