josm: revert workaround to broken fetchsvn

re #356829
This commit is contained in:
Andrew Kvalheim 2024-11-25 21:57:40 -08:00 committed by Robert Helgesson
parent 9512947ff9
commit a098e80118

View File

@ -2,7 +2,7 @@
lib,
stdenv,
fetchurl,
fetchFromGitHub,
fetchsvn,
makeWrapper,
unzip,
jre,
@ -21,11 +21,10 @@ let
url = "https://josm.openstreetmap.de/download/macosx/josm-macos-${version}-java21.zip";
hash = "sha256-8eps1eTUn9FHHYwECH/742PV7wnnRO08dlZmaxd1aZU=";
};
pkg = fetchFromGitHub {
owner = "JOSM";
repo = "josm";
tag = "${version}-tested";
hash = "sha256-ke8+JMFx95WyYR+ZIbjUVh3CT72bAfiMBGkc0Mim+60=";
pkg = fetchsvn {
url = "https://josm.openstreetmap.de/svn/trunk/native/linux/tested";
rev = version;
hash = "sha256-4mK+IdVRDhINJqzOovw7YPNiJmFxTCIfYVNMXKSdBv0=";
};
};
@ -53,7 +52,7 @@ stdenv.mkDerivation {
else
''
install -Dm644 ${srcs.jar} $out/share/josm/josm.jar
cp -R ${srcs.pkg}/native/linux/tested/usr/share $out
cp -R ${srcs.pkg}/usr/share $out
# Add libXxf86vm to path because it is needed by at least Kendzi3D plugin
makeWrapper ${jre}/bin/java $out/bin/josm \