mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
27 lines
641 B
Nix
27 lines
641 B
Nix
|
{ 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 ];
|
||
|
};
|
||
|
}
|