jameica: 2.8.1 -> 2.8.2
This commit is contained in:
parent
53255e2ab7
commit
fc92b6167f
@ -1,8 +1,8 @@
|
|||||||
{ stdenv, fetchFromGitHub, makeDesktopItem, makeWrapper, ant, jdk, jre, xmlstarlet, gtk2, glib, xorg, Cocoa }:
|
{ stdenv, fetchFromGitHub, makeDesktopItem, makeWrapper, ant, jdk, jre, gtk2, glib, xorg, Cocoa }:
|
||||||
|
|
||||||
let
|
let
|
||||||
_version = "2.8.1";
|
_version = "2.8.2";
|
||||||
_build = "449";
|
_build = "450";
|
||||||
version = "${_version}-${_build}";
|
version = "${_version}-${_build}";
|
||||||
name = "jameica-${version}";
|
name = "jameica-${version}";
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ in
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
inherit name version;
|
inherit name version;
|
||||||
|
|
||||||
nativeBuildInputs = [ ant jdk makeWrapper xmlstarlet ];
|
nativeBuildInputs = [ ant jdk makeWrapper ];
|
||||||
buildInputs = stdenv.lib.optionals stdenv.isLinux [ gtk2 glib xorg.libXtst ]
|
buildInputs = stdenv.lib.optionals stdenv.isLinux [ gtk2 glib xorg.libXtst ]
|
||||||
++ stdenv.lib.optional stdenv.isDarwin Cocoa;
|
++ stdenv.lib.optional stdenv.isDarwin Cocoa;
|
||||||
|
|
||||||
@ -31,23 +31,13 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "willuhn";
|
owner = "willuhn";
|
||||||
repo = "jameica";
|
repo = "jameica";
|
||||||
rev = "V_${builtins.replaceStrings ["."] ["_"] _version}_BUILD_${_build}";
|
rev = "V_${builtins.replaceStrings ["."] ["_"] _version}_BUILD_${_build}";
|
||||||
sha256 = "1w25lxjskn1yxllbv0vgvcc9f9xvgv9430dm4b59ia9baf98syd2";
|
sha256 = "197n35lvx51k6cbp3fhndvfb38sikl4mjqcd42fgvn2khy2sij68";
|
||||||
};
|
};
|
||||||
|
|
||||||
# there is also a build.gradle, but it only seems to be used to vendor 3rd party libraries
|
# there is also a build.gradle, but it only seems to be used to vendor 3rd party libraries
|
||||||
# and is not able to build the application itself
|
# and is not able to build the application itself
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
(cd build; ant init compile jar)
|
(cd build; ant -Dsystem.version=${version} init compile jar)
|
||||||
'';
|
|
||||||
|
|
||||||
# jameica itself loads ./plugin.xml to determine it's version.
|
|
||||||
# Unfortunately, the version attribute there seems to be wrong,
|
|
||||||
# so it thinks it's older than it really is,
|
|
||||||
# and refuses to load plugins destined for its version.
|
|
||||||
# Set version manually to workaround that.
|
|
||||||
postPatch = ''
|
|
||||||
xml ed -u '/system/@version' -v '${version}' plugin.xml > plugin.xml.new
|
|
||||||
mv plugin.xml.new plugin.xml
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -73,7 +63,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://www.willuhn.de/products/jameica/;
|
homepage = https://www.willuhn.de/products/jameica/;
|
||||||
description = "Free Runtime Environment for Java Applications.";
|
description = "Free Runtime Environment for Java Applications";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Runtime Environment for plugins like Hibiscus (HBCI Online Banking),
|
Runtime Environment for plugins like Hibiscus (HBCI Online Banking),
|
||||||
SynTAX (accounting) and JVerein (club management).
|
SynTAX (accounting) and JVerein (club management).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user