Skip to content

Commit

Permalink
package addition crproxy
Browse files Browse the repository at this point in the history
  • Loading branch information
senseab committed Jan 4, 2025
1 parent 607ef27 commit b75fcad
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pkgs/by-name/cr/crproxy/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "crproxy";
version = "0.12.4"; # stable

src = fetchFromGitHub {
owner = "DaoCloud";
repo = "crproxy";
rev = "v${version}";
hash = "sha256-jWSp0NzeXQu38fAaZ8eTqVN+uvpn6v5xgoi3N5SCQoc=";
};

vendorHash = "sha256-R78GbtTWgizvMz3HE83ZYxAbZBvCTbsuKLvPBCB5sx4=";

env.CGO_ENABLED = 0;

doCheck = true;

meta = {
description = "Generic Docker image proxy";
homepage = "https://github.com/DaoCloud/crproxy";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ SenseT ];
};
}

0 comments on commit b75fcad

Please sign in to comment.