Use vendorHash instead of vendorSha256 and remove yar

This commit is contained in:
Dave Gallant
2024-01-14 15:08:00 -05:00
parent 7b2faa9c59
commit 552bf04375
4 changed files with 10 additions and 36 deletions

View File

@@ -2,5 +2,4 @@ final: prev: {
rfd = prev.callPackage ./rfd {};
tmux-sessionizer = prev.callPackage ./tmux-sessionizer {};
vpngate = prev.callPackage ./vpngate {};
yar = prev.callPackage ./yar {};
}

View File

@@ -7,7 +7,7 @@ buildGoModule rec {
pname = "vpngate";
version = "v0.1.5";
vendorSha256 = "sha256-TQLHvoVAMvDtm/9EQUaNVVjQajyMBnJu8NF6Kt0+RJ8=";
vendorHash = "sha256-TQLHvoVAMvDtm/9EQUaNVVjQajyMBnJu8NF6Kt0+RJ8=";
src = fetchFromGitHub {
owner = "davegallant";

View File

@@ -1,25 +0,0 @@
{
lib,
fetchFromGitHub,
buildGoModule,
}:
buildGoModule rec {
pname = "yar";
version = "master";
vendorSha256 = "sha256-bBaAP9HQ1fG6gPtoYg9HXnv53DueAFnT4OHE4rwlxvA=";
src = fetchFromGitHub {
owner = "nielsing";
repo = "yar";
rev = version;
sha256 = "sha256-f7pTS5Ur8ImbIkPkyunyQEgpeF79CIQFEodg69VxA9I=";
};
meta = with lib; {
description = "Yar is a tool for plunderin' organizations, users and/or repositories.";
license = licenses.gpl3;
maintainers = with maintainers; [davegallant];
platforms = platforms.linux ++ platforms.darwin;
};
}