odpic: 3.1.0 -> 3.2.1
This commit is contained in:
parent
eb0fecf294
commit
c79d9e17d6
@ -1,12 +1,19 @@
|
|||||||
{ stdenv, fetchurl, fixDarwinDylibNames, oracle-instantclient, libaio }:
|
{ stdenv, fetchFromGitHub, fixDarwinDylibNames, oracle-instantclient, libaio }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
name = "odpic-${version}";
|
version = "3.2.1";
|
||||||
version = "3.1.0";
|
libPath = stdenv.lib.makeLibraryPath [ oracle-instantclient.lib ];
|
||||||
|
|
||||||
src = fetchurl {
|
in stdenv.mkDerivation {
|
||||||
url = "https://github.com/oracle/odpi/archive/v${version}.tar.gz";
|
inherit version;
|
||||||
sha256 = "0m6g7lbvfir4amf2cnap9wz9fmqrihqpihd84igrd7fp076894c0";
|
|
||||||
|
pname = "odpic";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "oracle";
|
||||||
|
repo = "odpi";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1f9gznc7h73cgx32p55rkhzla6l7l9dg53ilwh6zdgdqlp7n018i";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin [ fixDarwinDylibNames ];
|
nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin [ fixDarwinDylibNames ];
|
||||||
@ -14,9 +21,6 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ oracle-instantclient ]
|
buildInputs = [ oracle-instantclient ]
|
||||||
++ stdenv.lib.optionals stdenv.isLinux [ libaio ];
|
++ stdenv.lib.optionals stdenv.isLinux [ libaio ];
|
||||||
|
|
||||||
libPath = stdenv.lib.makeLibraryPath
|
|
||||||
[ oracle-instantclient.lib ];
|
|
||||||
|
|
||||||
dontPatchELF = true;
|
dontPatchELF = true;
|
||||||
makeFlags = [ "PREFIX=$(out)" "CC=cc" "LD=cc"];
|
makeFlags = [ "PREFIX=$(out)" "CC=cc" "LD=cc"];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user