2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, fuse, zlib }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "sqlar";
|
|
|
|
version = "2018-01-07";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.sqlite.org/sqlar/tarball/4824e73896/sqlar-src-4824e73896.tar.gz";
|
|
|
|
sha256 = "09pikkbp93gqypn3da9zi0dzc47jyypkwc9vnmfzhmw7kpyv8nm9";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ fuse zlib ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
buildFlags = [ "sqlar" "sqlarfs" "CFLAGS=-Wno-error" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -D -t $out/bin sqlar sqlarfs
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://sqlite.org/sqlar";
|
|
|
|
description = "SQLite Archive utilities";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
};
|
|
|
|
}
|