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

18
flake.lock generated
View File

@@ -61,11 +61,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1704786394, "lastModified": 1705187059,
"narHash": "sha256-aJM0ln9fMGWw1+tjyl5JZWZ3ahxAA2gw2ZpZY/hkEMs=", "narHash": "sha256-dSj+iIYqLA+7/5rLXWfUxw9IXRm0w8Mrm39af8klUH0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "b34a6075e9e298c4124e35c3ccaf2210c1f3a43b", "rev": "ef811636cc847355688804593282078bac7758d4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -91,11 +91,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1704842529, "lastModified": 1705204527,
"narHash": "sha256-OTeQA+F8d/Evad33JMfuXC89VMetQbsU4qcaePchGr4=", "narHash": "sha256-WVz9WdaFBhAwO/7A+HlW8HPJ4VQ8QnpCD1WZAcAPneo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "eabe8d3eface69f5bb16c18f8662a702f50c20d5", "rev": "dd5621df6dcb90122b50da5ec31c411a0de3e538",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -107,11 +107,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1704874635, "lastModified": 1705183652,
"narHash": "sha256-YWuCrtsty5vVZvu+7BchAxmcYzTMfolSPP5io8+WYCg=", "narHash": "sha256-rnfkyUH0x72oHfiSDhuCHDHg3gFgF+lF8zkkg5Zihsw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3dc440faeee9e889fe2d1b4d25ad0f430d449356", "rev": "428544ae95eec077c7f823b422afae5f174dee4b",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

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

View File

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