nixpkgs/pkgs/by-name/cl/cloudflare-utils/package.nix
nicoo 2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00

26 lines
594 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "cloudflare-utils";
version = "1.3.0";
src = fetchFromGitHub {
owner = "Cyb3r-Jak3";
repo = "cloudflare-utils";
rev = "v${version}";
hash = "sha256-hmMWMV8hJblXn0aW+S/VpFu9xYdh8k1H1Oa2x5DYMY4=";
};
vendorHash = "sha256-c1fUMX7pSiElSWSMBIzoNIEGcnCck9eUGPYXzb2Rv3w=";
meta = {
description = "Helpful Cloudflare utility program";
homepage = "https://github.com/Cyb3r-Jak3/cloudflare-utils";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [yelite];
};
}