git.iko.soy/typeable/nixpkgs
on master help sign in
add pkgs: sqlite-amalgamation
commit03f0f41db5e5e3bf04b6f1c13695e5ccb560d98e authorlassulus <lass@aidsballs.de> dateFri 12 Jun 2015, 01:28 (11 years ago) parentdeadb4e
2 files changed+35
pkgs/development/libraries/sqlite-amalgamation/default.nix+33 pkgs/top-level/all-packages.nix+2
pkgs/development/libraries/sqlite-amalgamation/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ lib, stdenv, fetchurl, unzip }:
2+
3+stdenv.mkDerivation {
4+ name = "sqlite-amalgamation-201505302257";
5+
6+ src = fetchurl {
7+ url = "https://www.sqlite.org/snapshot/sqlite-amalgamation-201505302257.zip";
8+ sha256 = "0488wjrpnxd61g7pcka6fckx0q8yl1k26i6q5hrmkm92qcpml76h";
9+ };
10+
11+ phases = [ "unpackPhase" "buildPhase" ];
12+
13+ buildInputs = [ unzip ];
14+
15+ unpackPhase = ''
16+ unzip $src
17+ '';
18+
19+ buildPhase = ''
20+ mkdir -p $out
21+ cp sqlite3.c $out/
22+ cp sqlite3.h $out/
23+ cp sqlite3ext.h $out/
24+ cp shell.c $out/
25+ '';
26+
27+ meta = {
28+ homepage = http://www.sqlite.org/;
29+ description = "A single C code file, named sqlite3.c, that contains all C code for the core SQLite library and the FTS3 and RTREE extensions";
30+ platforms = stdenv.lib.platforms.unix;
31+ maintainers = [ lib.maintainers.lassulus ];
32+ };
33+}
pkgs/top-level/all-packages.nix+2
@@ -8009,6 +8009,8 @@ let
80098009
80108010 sqlite3_analyzer = lowPrio (callPackage ../development/libraries/sqlite/sqlite3_analyzer.nix { });
80118011
8012+ sqlite-amalgamation = callPackage ../development/libraries/sqlite-amalgamation { };
8013+
80128014 sqlite-interactive = appendToName "interactive" (sqlite.override { interactive = true; });
80138015
80148016 sqlcipher = lowPrio (callPackage ../development/libraries/sqlcipher {