odpic: init at 2.3.2
This commit is contained in:
parent
5fb1cfb77b
commit
52de9e8206
3 changed files with 43 additions and 0 deletions
|
@ -2516,6 +2516,11 @@
|
|||
github = "MikePlayle";
|
||||
name = "Mike Playle";
|
||||
};
|
||||
mkazulak = {
|
||||
email = "kazulakm@gmail.com";
|
||||
github = "mulderr";
|
||||
name = "Maciej Kazulak";
|
||||
};
|
||||
mkg = {
|
||||
email = "mkg@vt.edu";
|
||||
github = "mkgvt";
|
||||
|
|
36
pkgs/development/libraries/odpic/default.nix
Normal file
36
pkgs/development/libraries/odpic/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ stdenv, fetchurl, libaio, oracle-instantclient }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "odpic-${version}";
|
||||
version = "2.3.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/oracle/odpi/archive/v${version}.tar.gz";
|
||||
sha256 = "0a52vqy3c27hmcia4x4vhs6z0ha27xkw7fvfa17f7kxs5w84ll07";
|
||||
};
|
||||
|
||||
buildInputs = [ libaio oracle-instantclient ];
|
||||
|
||||
libPath = stdenv.lib.makeLibraryPath
|
||||
[ oracle-instantclient ];
|
||||
|
||||
dontPatchELF = true;
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib
|
||||
mkdir $out/include
|
||||
|
||||
cp lib/* $out/lib/
|
||||
cp include/* $out/include/
|
||||
|
||||
patchelf --set-rpath "${libPath}" $out/lib/libodpic.so
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Oracle ODPI-C library";
|
||||
homepage = "https://oracle.github.io/odpi/";
|
||||
maintainers = with maintainers; [ mkazulak ];
|
||||
licence = licenses.asl20;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
hydraPlatforms = [];
|
||||
};
|
||||
}
|
|
@ -4125,6 +4125,8 @@ with pkgs;
|
|||
|
||||
odpdown = callPackage ../tools/typesetting/odpdown { };
|
||||
|
||||
odpic = callPackage ../development/libraries/odpic { };
|
||||
|
||||
odt2txt = callPackage ../tools/text/odt2txt { };
|
||||
|
||||
offlineimap = callPackage ../tools/networking/offlineimap { };
|
||||
|
|
Loading…
Reference in a new issue