1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00

sqlar: init at 2018-01-07

This commit is contained in:
Will Dietz 2018-05-16 21:42:14 -05:00
parent bd648f321c
commit 0f7eaddc50
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ stdenv, fetchurl, fuse, zlib }:
stdenv.mkDerivation rec {
name = "sqlar-${version}";
version = "2018-01-07";
src = fetchurl {
url = "https://www.sqlite.org/sqlar/tarball/4824e73896/sqlar-src-4824e73896.tar.gz";
sha256 = "09pikkbp93gqypn3da9zi0dzc47jyypkwc9vnmfzhmw7kpyv8nm9";
};
buildInputs = [ fuse zlib ];
buildFlags = [ "sqlar" "sqlarfs" ];
installPhase = ''
install -D -t $out/bin sqlar sqlarfs
'';
meta = with stdenv.lib; {
homepage = https://sqlite.org/sqlar;
description = "SQLite Archive utilities";
platforms = platforms.all;
maintainers = with maintainers; [ dtzWill ];
};
}

View file

@ -11650,6 +11650,8 @@ with pkgs;
sqlite3_analyzer = lowPrio (callPackage ../development/libraries/sqlite/sqlite3_analyzer.nix { });
sqlar = callPackage ../development/libraries/sqlite/sqlar.nix { };
sqlite-interactive = appendToName "interactive" (sqlite.override { interactive = true; }).bin;
sqlite-jdbc = callPackage ../servers/sql/sqlite/jdbc { };