diff --git a/pkgs/by-name/ex/exiflooter/package.nix b/pkgs/by-name/ex/exiflooter/package.nix new file mode 100644 index 000000000000..9e23cf5b1c86 --- /dev/null +++ b/pkgs/by-name/ex/exiflooter/package.nix @@ -0,0 +1,29 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "exiflooter"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "aydinnyunus"; + repo = "exiflooter"; + rev = "v${version}"; + hash = "sha256-E7fxV+w8N9xi8UuaKBTZBzPjIHJt9/U+oVIu2+Ond+Y="; + }; + + vendorHash = "sha256-uV7O2H3gPQ+kFdEHLgM+v+TXn+87QfFwOAEQpnKQIQk="; + + ldflags = [ "-s" "-w" ]; + + meta = with lib; { + description = "Finds geolocation on all image urls and directories"; + homepage = "https://github.com/aydinnyunus/exiflooter"; + changelog = "https://github.com/aydinnyunus/exifLooter/releases/tag/v${version}"; + license = licenses.asl20; + maintainers = with maintainers; [ octodi ]; + mainProgram = "exiflooter"; + }; +}