mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 17:53:14 +00:00
odpic: nixpkgs-fmt
This commit is contained in:
parent
b4896f9e45
commit
bfad3f0d2c
@ -4,7 +4,8 @@ let
|
||||
version = "5.0.0";
|
||||
libPath = lib.makeLibraryPath [ oracle-instantclient.lib ];
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit version;
|
||||
|
||||
pname = "odpic";
|
||||
@ -22,7 +23,7 @@ in stdenv.mkDerivation {
|
||||
++ lib.optionals stdenv.isLinux [ libaio ];
|
||||
|
||||
dontPatchELF = true;
|
||||
makeFlags = [ "PREFIX=$(out)" "CC=${stdenv.cc.targetPrefix}cc" "LD=${stdenv.cc.targetPrefix}cc"];
|
||||
makeFlags = [ "PREFIX=$(out)" "CC=${stdenv.cc.targetPrefix}cc" "LD=${stdenv.cc.targetPrefix}cc" ];
|
||||
|
||||
postFixup = ''
|
||||
${lib.optionalString (stdenv.isLinux) ''
|
||||
@ -31,7 +32,7 @@ in stdenv.mkDerivation {
|
||||
${lib.optionalString (stdenv.isDarwin) ''
|
||||
install_name_tool -add_rpath "${libPath}" $out/lib/libodpic${stdenv.hostPlatform.extensions.sharedLibrary}
|
||||
''}
|
||||
'';
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Oracle ODPI-C library";
|
||||
@ -39,6 +40,6 @@ in stdenv.mkDerivation {
|
||||
maintainers = with maintainers; [ mkazulak flokli ];
|
||||
license = licenses.asl20;
|
||||
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ];
|
||||
hydraPlatforms = [];
|
||||
hydraPlatforms = [ ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user