linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / libraries / sqlite / sqlar.nix
blob0828f2f4554356903b6def81cc36ad9aed83c402
1 { lib, stdenv, fetchurl, fuse, zlib }:
3 stdenv.mkDerivation {
4   pname = "sqlar";
5   version = "2018-01-07";
7   src = fetchurl {
8     url = "https://www.sqlite.org/sqlar/tarball/4824e73896/sqlar-src-4824e73896.tar.gz";
9     sha256 = "09pikkbp93gqypn3da9zi0dzc47jyypkwc9vnmfzhmw7kpyv8nm9";
10   };
12   buildInputs = [ fuse zlib ];
14   buildFlags = [ "sqlar" "sqlarfs" "CFLAGS=-Wno-error" ];
16   installPhase = ''
17     install -D -t $out/bin sqlar sqlarfs
18   '';
20   meta = with lib; {
21     homepage = "https://sqlite.org/sqlar";
22     description = "SQLite Archive utilities";
23     license = licenses.bsd2;
24     platforms = platforms.all;
25     maintainers = with maintainers; [ dtzWill ];
26   };