google-photo-uploader/google-photo-uploader.nix

24 lines
529 B
Nix
Raw Normal View History

2024-01-27 11:25:11 -08:00
{ pkgs, lib, ... }:
2024-01-27 09:53:47 -08:00
2024-01-27 11:25:11 -08:00
with pkgs.lib;
pkgs.buildGoApplication rec {
2024-01-27 09:53:47 -08:00
pname = "google-photo-uploader";
version = "1.6.1";
2024-01-27 11:25:11 -08:00
src = pkgs.fetchFromGitHub {
2024-01-27 09:53:47 -08:00
owner = "int128";
repo = "gpup";
rev = version;
sha256 = "sha256-FfJbWpH//Z/NxgpH7JvOf8pWxJOxgYDABUfcyWNps30=";
};
modules = ./gomod2nix.toml;
2024-01-27 11:25:11 -08:00
meta = {
2024-01-27 09:53:47 -08:00
description = "Google photos uploader, written in Go.";
homepage = "https://github.com/int128/gpup";
license = licenses.asl20;
platforms = platforms.linux ++ platforms.darwin;
};
}