Skip to content

Commit

Permalink
add ncps
Browse files Browse the repository at this point in the history
  • Loading branch information
42LoCo42 committed Dec 9, 2024
1 parent e14d93d commit a03d7c2
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A personal collection of unusual things
* substituter: `https://attic.eleonora.gay/default`
* public key: `default:3FYh8sZV8gWa7Jc5jlP7gZFK7pt3kaHRiV70ySaQ42g=`

## 52 Packages
## 53 Packages

| Name | Version | Description | Homepage |
|------|---------|-------------|----------|
Expand Down Expand Up @@ -42,6 +42,7 @@ A personal collection of unusual things
|`mspgcc-ti`|`9.3.1.11`|Open Source Compiler for MSP Microcontrollers|https://www.ti.com/tool/MSP430-GCC-OPENSOURCE|
|`my-htop`|`5d778ea`|htop with sorting in tree mode fixed|https://htop.dev|
|`nchess`|`0.0`|A curses based, UCI compatible, chess gui|https://github.com/spinojara/nchess|
|`ncps`|`0.0.11`|Nix binary cache proxy service -- with local caching and signing|https://github.com/kalbasit/ncps|
|`nvflash`|`5.833.0`|NVIDIA NVFlash is used to flash the graphics card BIOS on Ampere, Turing, Pascal and all older NVIDIA cards|https://www.techpowerup.com/download/nvidia-nvflash|
|`pcr-oracle`|`0.5.4`|Predict TPM PCR values for future boot|https://github.com/okirch/pcr-oracle|
|`photoview`|`v2.4.0`|Photo gallery for self-hosted personal servers|https://photoview.github.io|
Expand Down
26 changes: 26 additions & 0 deletions packages/ncps.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
pkgs: pkgs.buildGoModule rec {
pname = "ncps";
version = "0.0.11";

src = (pkgs.fetchFromGitHub {
owner = "kalbasit";
repo = pname;
rev = "v${version}";
hash = "sha256-gtnG/DMRD5DYLHhb4+i4O8EHItQsnjccjHXSJ6PvUb8=";
}).overrideAttrs (old: {
postFetch = old.postFetch + ''
cd $out
find -name '*_test.go' -delete
rm -rf testdata devbox.lock
'';
});

ldflags = [ "-s" "-w" ];
vendorHash = "sha256-4aqS54T1iA4U0B3TATj+a6+inIKUg7XQLvq6U1P5mBs=";

meta = {
description = "Nix binary cache proxy service -- with local caching and signing";
homepage = "https://github.com/kalbasit/ncps";
mainProgram = pname;
};
}

0 comments on commit a03d7c2

Please sign in to comment.