josm-imagery-used: init at 0.0.0

This commit is contained in:
Andrew Kvalheim 2023-06-29 14:48:43 -07:00
parent 82c97345c0
commit 1fa69c95c4
3 changed files with 31 additions and 0 deletions

View file

@ -32,6 +32,7 @@ specify {
ios-webkit-debug-proxy = any;
iosevka-custom = any;
josm.jre = (specify { graalvm17-ce = { version = "22.1.0"; search = pin "34bfa94" "sha256-yqLXI+viN5+Vx5YpG9gNapKL3/+P6Pkprc36xNdyqSU="; }; /* Pending Gubaer/josm-scripting-plugin#101 */ }).graalvm17-ce; # josm-scripting-plugin
josm-imagery-used = any;
mcaselector = any;
minemap = any;
mozjpeg-simple = any;

View file

@ -61,6 +61,7 @@ in
wireshark
yt-dlp
];
xdg.dataFile."JOSM/plugins/imagery_used.jar".source = "${pkgs.josm-imagery-used}/share/JOSM/plugins/imagery_used.jar";
home.file.".rubocop.yml".text = toYAML { } {
inherit_mode.merge = [ "Include" ];
AllCops.NewCops = "enable";

View file

@ -0,0 +1,29 @@
{ build-josm-plugin
, fetchFromGitHub
, gitUpdater
, lib
}:
build-josm-plugin rec {
pname = "josm-imagery-used";
version = "0.0.0";
src = fetchFromGitHub {
owner = "AndrewKvalheim";
repo = "imagery_used";
rev = "v${version}";
hash = "sha256-vrMo9sru6O7kILFXCxW2EGuMUqmEq2sWQ56QNWFDYGI=";
};
josmVersion = "18721";
josmLegacyRev = "36079";
pluginName = "imagery_used";
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
meta = {
description = "JOSM plugin to populate imagery_used in changesets";
homepage = "https://github.com/AndrewKvalheim/imagery_used";
license = lib.licenses.gpl3;
};
}