pkgs: add gokrazy package

This commit is contained in:
Aaron Bieber 2023-01-14 05:35:59 -07:00
parent bfb1d75cf2
commit 87c4c5ff6a
No known key found for this signature in database
3 changed files with 28 additions and 0 deletions

View File

@ -273,6 +273,7 @@
inherit (pkgs.python39Packages) requests; inherit (pkgs.python39Packages) requests;
}; };
golink = pkgs.callPackage ./pkgs/golink.nix { inherit pkgs; }; golink = pkgs.callPackage ./pkgs/golink.nix { inherit pkgs; };
gokrazy = pkgs.callPackage ./pkgs/gokrazy.nix { inherit pkgs; };
gosignify = pkgs.callPackage ./pkgs/gosignify.nix { inherit pkgs; }; gosignify = pkgs.callPackage ./pkgs/gosignify.nix { inherit pkgs; };
gotosocial = pkgs.callPackage ./pkgs/gotosocial.nix { inherit pkgs; }; gotosocial = pkgs.callPackage ./pkgs/gotosocial.nix { inherit pkgs; };
govulncheck = govulncheck =

View File

@ -258,6 +258,7 @@ in {
talon talon
(callPackage ../../pkgs/gokrazy.nix { })
(callPackage ../../pkgs/zutty.nix { }) (callPackage ../../pkgs/zutty.nix { })
]; ];

26
pkgs/gokrazy.nix Normal file
View File

@ -0,0 +1,26 @@
{ lib, buildGoModule, fetchFromGitHub, ... }:
with lib;
buildGoModule {
pname = "gokrazy";
version = "0.0.0";
src = fetchFromGitHub {
owner = "gokrazy";
repo = "tools";
rev = "b89d9dc6e09742ea23492bb84021da70b2965bff";
sha256 = "sha256-1nWpLQMDvtV83HFvmrNdN31DVENq3HUqk/6+zuavoTU=";
};
vendorSha256 = "sha256-d6je2aRHlgP4r/Yg55zezRMTul1p5aLEpxfLb3V6BFg=";
proxyVendor = true;
doCheck = false;
meta = {
description = "CLI tools for gokrazy";
homepage = "https://github.com/gokrazy/tools";
license = licenses.bsd3;
maintainers = with maintainers; [ qbit ];
};
}