2018-05-17 04:42:14 +02:00
|
|
|
{ stdenv, fetchurl, fuse, zlib }:
|
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "sqlar";
|
2018-05-17 04:42:14 +02:00
|
|
|
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; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://sqlite.org/sqlar";
|
2018-05-17 04:42:14 +02:00
|
|
|
description = "SQLite Archive utilities";
|
2018-08-11 14:32:05 +02:00
|
|
|
license = licenses.bsd2;
|
2018-05-17 04:42:14 +02:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
};
|
|
|
|
}
|