Switch approaches...

This commit is contained in:
2024-01-27 10:52:05 -08:00
parent fc9cf546f6
commit d698c0c761
2 changed files with 9 additions and 15 deletions
+4 -4
View File
@@ -1,10 +1,10 @@
{ config, lib, pkgs, ... }:
{ lib, buildGoApplication, ... }:
pkgs.lib.buildGoApplication rec {
buildGoApplication rec {
pname = "google-photo-uploader";
version = "1.6.1";
src = pkgs.fetchFromGitHub {
src = lib.fetchFromGitHub {
owner = "int128";
repo = "gpup";
rev = version;
@@ -13,7 +13,7 @@ pkgs.lib.buildGoApplication rec {
modules = ./gomod2nix.toml;
meta = with pkgs.lib; {
meta = with lib; {
description = "Google photos uploader, written in Go.";
homepage = "https://github.com/int128/gpup";
license = licenses.asl20;