nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.09 32 lines 822 B view raw
1{ stdenv 2, fetchFromGitHub 3, autoreconfHook 4, wxGTK 5, sqlite 6, darwin 7}: 8 9stdenv.mkDerivation rec { 10 pname = "wxsqlite3"; 11 version = "4.6.0"; 12 13 src = fetchFromGitHub { 14 owner = "utelle"; 15 repo = "wxsqlite3"; 16 rev = "v${version}"; 17 sha256 = "0snsysfrr5h66mybls8r8k781v732dlfn4jdnmk348jgvny275fj"; 18 }; 19 20 nativeBuildInputs = [ autoreconfHook ]; 21 22 buildInputs = [ wxGTK sqlite ] 23 ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa darwin.stubs.setfile darwin.stubs.rez darwin.stubs.derez ]; 24 25 meta = with stdenv.lib; { 26 homepage = "https://utelle.github.io/wxsqlite3/"; 27 description = "A C++ wrapper around the public domain SQLite 3.x for wxWidgets"; 28 platforms = platforms.unix; 29 maintainers = with maintainers; [ vrthra ]; 30 license = [ licenses.lgpl2 ]; 31 }; 32}