more fixes to pkgs

This commit is contained in:
Noah Masur
2025-02-22 17:39:12 -05:00
parent 7007567207
commit 3206b48f28
11 changed files with 73 additions and 52 deletions

View File

@ -1,13 +1,13 @@
{ pkgs, ... }:
{ buildGoModule, fetchFromGitHub }:
pkgs.buildGoModule rec {
buildGoModule rec {
pname = "gh-collaborators";
version = "v3.0.0";
src = {
src = fetchFromGitHub {
owner = "katiem0";
repo = "gh-collaborators";
rev = "4af7c8e54ecc499097121909f02ecb42a8a60d24";
sha256 = pkgs.lib.fakeHash;
rev = "bf412dde50605e48af86f291c2ac8714f2c1b228";
sha256 = "sha256-SGmP/8Fvf2rcYkwscMOFG01Y0VJGb/TXrNZtLacurxA=";
};
vendorHash = "sha256-9qmvG2q9t1Zj8yhKFyA99IaJ90R/gRVdQVjdliVKLRE";

View File

@ -7,4 +7,4 @@ pkgs.writers.writeFishBin "ip-check" {
":"
"${lib.makeBinPath [ pkgs.curl ]}"
];
} builtins.readFile ./ip.fish
} (builtins.readFile ./ip.fish)

View File

@ -1,6 +1,6 @@
{ pkgs, ... }:
{ pkgs, writeShellApplication }:
pkgs.writeShellApplication {
writeShellApplication {
name = "ocr";
runtimeInputs = [ pkgs.tesseract ];
text = builtins.readFile ./ocr.sh;

View File

@ -1,15 +1,20 @@
# Clipboard over SSH
{ pkgs, ... }:
{
lib,
buildGoModule,
fetchFromGitHub,
...
}:
pkgs.buildGoModule {
buildGoModule {
pname = "osc";
version = "v0.4.6";
src = {
src = fetchFromGitHub {
owner = "theimpostor";
repo = "osc";
rev = "4af7c8e54ecc499097121909f02ecb42a8a60d24";
sha256 = pkgs.lib.fakeHash;
sha256 = lib.fakeSha256;
};
vendorHash = "sha256-POtQWIjPObsfa3YZ1dLZgedZFUcc4HeTWjU20AucoKc=";