configuration/packages/josm-imagery-used.nix

28 lines
595 B
Nix
Raw Normal View History

2023-06-30 00:53:43 +00:00
{ buildJosmPlugin
2023-06-29 21:48:43 +00:00
, fetchFromGitHub
, gitUpdater
, lib
}:
2023-06-30 00:53:43 +00:00
buildJosmPlugin rec {
2023-06-29 21:48:43 +00:00
pname = "josm-imagery-used";
version = "0.0.0";
src = fetchFromGitHub {
owner = "AndrewKvalheim";
repo = "imagery_used";
rev = "v${version}";
hash = "sha256-vrMo9sru6O7kILFXCxW2EGuMUqmEq2sWQ56QNWFDYGI=";
};
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;
};
}