nixpkgs/pkgs/by-name/ex/exiflooter/package.nix
2024-01-07 18:33:46 +05:30

30 lines
741 B
Nix

{ 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";
};
}