3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/sqlite/sqlite3_analyzer.nix

28 lines
685 B
Nix
Raw Normal View History

2015-05-20 14:54:18 +01:00
{ lib, stdenv, fetchurl, unzip, tcl }:
stdenv.mkDerivation {
name = "sqlite3_analyzer-3.17.0";
2015-05-20 14:54:18 +01:00
src = fetchurl {
url = "https://www.sqlite.org/2017/sqlite-src-3170000.zip";
sha256 = "1hs8nzk2pjr4fhhrwcyqwpa24gd4ndp6f0japykg5wfadgp4nxc6";
2015-05-20 14:54:18 +01:00
};
nativeBuildInputs = [ unzip ];
buildInputs = [ tcl ];
2015-05-20 14:54:18 +01:00
makeFlags = [ "sqlite3_analyzer" ];
2015-05-20 14:54:18 +01:00
installPhase = ''
install -Dm755 sqlite3_analyzer \
"$out/bin/sqlite3_analyzer"
2015-05-20 14:54:18 +01:00
'';
meta = with stdenv.lib; {
2015-05-20 14:54:18 +01:00
homepage = http://www.sqlite.org/;
description = "A tool that shows statistics about sqlite databases";
platforms = platforms.unix;
maintainers = with maintainers; [ pesterhazy ];
2015-05-20 14:54:18 +01:00
};
}