odpic: nixpkgs-fmt

This commit is contained in:
Florian Klink
2023-09-07 11:33:27 +03:00
parent b4896f9e45
commit bfad3f0d2c
+5 -4
View File
@@ -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 = [ ];
};
}