pkgs/clilol: init 1.0.4

This commit is contained in:
Aaron Bieber 2023-07-02 05:47:22 -06:00
parent 775af3a3dc
commit c749979a36
No known key found for this signature in database
3 changed files with 30 additions and 0 deletions

View File

@ -240,6 +240,7 @@
spkgs.callPackage ./pkgs/ada_language_server.nix { inherit spkgs; };
alire = spkgs.callPackage ./pkgs/alire.nix { inherit spkgs; };
bearclaw = spkgs.callPackage ./pkgs/bearclaw.nix { inherit spkgs; };
clilol = spkgs.callPackage ./pkgs/clilol.nix { inherit spkgs; };
gqrss = spkgs.callPackage ./pkgs/gqrss.nix {
inherit spkgs;
isUnstable = true;

View File

@ -142,6 +142,8 @@ in {
"gh" = "op plugin run -- gh";
"nixpkgs-review" =
"env GITHUB_TOKEN=$(op item get nixpkgs-review --field token) nixpkgs-review";
"clilol" =
"env CLILOL_APIKEY=$(op item get omglol-cli --field credential) clilol";
"godeps" =
"go list -m -f '{{if not (or .Indirect .Main)}}{{.Path}}{{end}}' all";
"mutt" = "neomutt -F /etc/neomuttrc";
@ -294,6 +296,7 @@ in {
talon
(callPackage ../../pkgs/clilol.nix { })
(callPackage ../../pkgs/iamb.nix { })
(callPackage ../../pkgs/kobuddy.nix {
inherit pkgs;

26
pkgs/clilol.nix Normal file
View File

@ -0,0 +1,26 @@
{ lib, buildGoModule, fetchgit, ... }:
buildGoModule rec {
pname = "clilol";
version = "1.0.4";
src = fetchgit {
url = "https://git.mcornick.dev/mcornick/clilol.git";
rev = "v${version}";
hash = "sha256-VlL5prd021JrOf33jUdqORk9MxpyRQHNMpqDoSLLYi8=";
};
vendorHash = "sha256-i4UG52Z1zTM4VHBaNf5IYfQKnpC5iZTkK6L5hyQ6f4s=";
# attempts to make calls to api.omg.lol
doCheck = false;
meta = with lib; {
description = "a CLI for omg.lol";
homepage = "https://mcornick.dev/clilol/";
changelog =
"https://git.mcornick.dev/mcornick/clilol/releases/tag/${version}";
license = licenses.mpl20;
maintainers = [ maintainers.qbit ];
};
}