12 version = "2018-01-07";
15 url = "https://www.sqlite.org/sqlar/tarball/4824e73896/sqlar-src-4824e73896.tar.gz";
16 sha256 = "09pikkbp93gqypn3da9zi0dzc47jyypkwc9vnmfzhmw7kpyv8nm9";
20 substituteInPlace Makefile \
21 --replace 'gcc' '${stdenv.cc.targetPrefix}cc'
24 buildInputs = [ zlib ] ++ lib.optional withFuse fuse;
29 ] ++ lib.optional withFuse "sqlarfs";
33 install -D -t $out/bin sqlar
35 + lib.optionalString withFuse ''
36 install -D -t $out/bin sqlarfs
40 homepage = "https://sqlite.org/sqlar";
41 description = "SQLite Archive utilities";
42 license = licenses.bsd2;
43 platforms = platforms.all;
44 maintainers = with maintainers; [ dtzWill ];