mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 18:12:46 +00:00
f8bf6f087e
This was forgotten in PR #81648. It's a small bump, so I just tested that it builds.
32 lines
872 B
Nix
32 lines
872 B
Nix
{ stdenv, fetchurl, unzip, sqlite, tcl }:
|
|
|
|
let
|
|
archiveVersion = import ./archive-version.nix stdenv.lib;
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sqlite-analyzer";
|
|
version = "3.31.1";
|
|
|
|
src = assert version == sqlite.version; fetchurl {
|
|
url = "https://sqlite.org/2020/sqlite-src-${archiveVersion version}.zip";
|
|
sha256 = "0n7f3w59gr80s6k4l5a9bp2s97dlfapfbhb3qdhak6axhn127p7j";
|
|
};
|
|
|
|
nativeBuildInputs = [ unzip ];
|
|
buildInputs = [ tcl ];
|
|
|
|
makeFlags = [ "sqlite3_analyzer" ];
|
|
|
|
installPhase = "install -Dt $out/bin sqlite3_analyzer";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A tool that shows statistics about SQLite databases";
|
|
downloadPage = http://sqlite.org/download.html;
|
|
homepage = https://www.sqlite.org;
|
|
license = licenses.publicDomain;
|
|
maintainers = with maintainers; [ pesterhazy ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|