nixpkgs/pkgs/by-name/ni/nitch/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

33 lines
1004 B
Nix

{ lib, buildNimPackage, fetchFromGitHub, fetchpatch }:
buildNimPackage {
pname = "nitch";
version = "0.1.6";
src = fetchFromGitHub {
owner = "ssleert";
repo = "nitch";
rev = "42ad6899931dd5e0cec7b021c2b7e383fcc891f3";
hash = "sha256-QI7CbP0lvvjD+g29FR/YJjuZboZ+PoHynsNbpYC9SvE=";
};
patches = [
(fetchpatch {
url = "https://github.com/unxsh/nitch/commit/6831cf96144f58c4da298a0bc9b50d33056f6c08.patch";
hash = "sha256-uZUzUBLHBsssNqDxZ0NuTRMN9/gBxIlIiGgQkqCqEFc=";
})
(fetchpatch {
url = "https://github.com/ssleert/nitch/commit/ff10dea47dbc4d9736bd839b87869f53166cf395.patch";
hash = "sha256-n7JtI1Td0xMqhuScnMvxTkbY2I+l+FcUTz7aytxFasE=";
})
];
meta = with lib; {
description = "Incredibly fast system fetch written in nim";
homepage = "https://github.com/unxsh/nitch";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ michaelBelsanti ];
mainProgram = "nitch";
};
}