nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 48 lines 837 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 cxxtools, 7 libpq, 8 libmysqlclient, 9 sqlite, 10 zlib, 11 openssl, 12}: 13 14stdenv.mkDerivation rec { 15 pname = "tntdb"; 16 version = "1.4"; 17 18 src = fetchFromGitHub { 19 owner = "maekitalo"; 20 repo = "tntdb"; 21 rev = "V${version}"; 22 hash = "sha256-ciqHv077sXnvCx+TJjdY1uPrlCP7/s972koXjGLgWhU="; 23 }; 24 25 nativeBuildInputs = [ 26 autoreconfHook 27 libpq.pg_config 28 ]; 29 30 buildInputs = [ 31 cxxtools 32 libpq 33 libmysqlclient 34 sqlite 35 zlib 36 openssl 37 ]; 38 39 enableParallelBuilding = true; 40 41 meta = with lib; { 42 homepage = "http://www.tntnet.org/tntdb.html"; 43 description = "C++ library which makes accessing SQL databases easy and robust"; 44 platforms = platforms.linux; 45 license = licenses.lgpl21; 46 maintainers = [ maintainers.juliendehos ]; 47 }; 48}