-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switch to mariadb connector, remove password
- Loading branch information
1 parent
ebc5d00
commit 92345aa
Showing
6 changed files
with
58 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
stdenv, | ||
lib, | ||
fetchFromGitHub, | ||
ant, | ||
jdk8, | ||
}: | ||
stdenv.mkDerivation rec { | ||
pname = "jna"; | ||
version = "5.13.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "java-native-access"; | ||
repo = pname; | ||
rev = version; | ||
hash = "sha256-EIOVmzQcnbL1NmxAaUVCMDvs9wpKqhP5iHAPoBVs3ho="; | ||
}; | ||
|
||
nativeBuildInputs = [ant jdk8]; | ||
|
||
buildPhase = '' | ||
runHook preBuild | ||
rm -r dist # remove prebuilt files | ||
ant dist | ||
runHook postBuild | ||
''; | ||
|
||
installPhase = '' | ||
runHook preInstall | ||
install -Dm444 -t $out/share/java dist/jna{,-platform}.jar | ||
runHook postInstall | ||
''; | ||
|
||
meta = with lib; { | ||
inherit (src.meta) homepage; | ||
description = "Java Native Access"; | ||
license = with licenses; [lgpl21 asl20]; | ||
maintainers = with maintainers; [nagy]; | ||
platforms = platforms.linux; | ||
changelog = "https://github.com/java-native-access/jna/blob/${version}/CHANGES.md"; | ||
}; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters