default.nix (520B)
1 { stdenv, lib, buildGoModule, fetchgit }: 2 3 buildGoModule rec { 4 name = "ape-${version}"; 5 version = "0.4.2"; 6 rev = "v${version}"; 7 8 src = fetchgit { 9 inherit rev; 10 url = "https://git.sr.ht/~vdemeester/ape"; 11 sha256 = "sha256-Ww2HuwR5Fx/tnYHARqeuDv2NU26oQPyIjtkYj291WTg="; 12 }; 13 vendorHash = "sha256-XLRjxJu28yt02+SykO8OqvFCl0nSFyVbHKRUGcS7Mrs="; 14 15 meta = { 16 description = "a git mirror *upstream* updater "; 17 homepage = "https://git.sr.ht/~vdemeester/ape"; 18 license = lib.licenses.asl20; 19 }; 20 }