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

24 lines
566 B
Nix
Raw Normal View History

2024-01-27 11:19:33 -08:00
{ nixpkgs, buildGoApplication, ... }:
2024-01-27 09:53:47 -08:00
2024-01-27 11:19:33 -08:00
with nixpkgs.lib;
2024-01-27 10:52:05 -08:00
buildGoApplication rec {
2024-01-27 09:53:47 -08:00
pname = "google-photo-uploader";
version = "1.6.1";
2024-01-27 11:19:33 -08:00
src = nixpkgs.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:19:33 -08:00
meta = with nixpkgs.lib; {
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;
};
}