libpqxx_6: init at 6.4.5
This commit is contained in:
parent
8481a131ef
commit
1949616615
2 changed files with 31 additions and 0 deletions
30
pkgs/development/libraries/libpqxx/6.nix
Normal file
30
pkgs/development/libraries/libpqxx/6.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub, postgresql, doxygen, xmlto, python2, gnused }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libpqxx";
|
||||
version = "6.4.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jtv";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0djmjr2b5x5nd2a4idv5j8s6w0kdmvil910iv1kyc7x94dirbrni";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ gnused python2 ];
|
||||
buildInputs = [ postgresql doxygen xmlto ];
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
configureFlags = [ "--enable-shared" ];
|
||||
|
||||
meta = {
|
||||
description = "A C++ library to access PostgreSQL databases";
|
||||
homepage = "http://pqxx.org/development/libpqxx/";
|
||||
license = lib.licenses.bsd3;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.eelco ];
|
||||
};
|
||||
}
|
|
@ -16804,6 +16804,7 @@ in
|
|||
libpfm = callPackage ../development/libraries/libpfm { };
|
||||
|
||||
libpqxx = callPackage ../development/libraries/libpqxx { };
|
||||
libpqxx_6 = callPackage ../development/libraries/libpqxx/6.nix { };
|
||||
|
||||
inherit (callPackages ../development/libraries/prometheus-client-c {
|
||||
stdenv = gccStdenv; # Required for darwin
|
||||
|
|
Loading…
Reference in a new issue