summary refs log tree commit diff
path: root/pkgs/games/zandronum/sqlite.nix
blob: c7687f89589d7d3e8e6f4e2d3c1cfe9cae5d3123 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib
, stdenv
, fetchurl
}:

stdenv.mkDerivation {
  pname = "sqlite-zandronum";
  version = "3.0";

  src = fetchurl {
    url = "https://www.sqlite.org/2017/sqlite-autoconf-3180000.tar.gz";
    hash = "sha256-N1dhJGOXbn0IxenwrzAhYT/CS7z+HFEZfWd2uezprFw=";
  };

  buildPhase = ''
    mkdir -p $out
    cp sqlite3.c $out/
    cp sqlite3.h $out/
    cp sqlite3ext.h $out/
  '';

  meta = {
    homepage = "http://www.sqlite.org/";
    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";
    platforms = lib.platforms.unix;
    maintainers = [ lib.maintainers.lassulus ];
  };
}