nixpkgs/pkgs/by-name/up/ups/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

25 lines
579 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "ups";
version = "0.2.1";
src = fetchFromGitHub {
owner = "rameshvarun";
repo = "ups";
rev = "v${version}";
hash = "sha256-7AuZ1gyp8tAWHM0Ry54tKucPJ3enaGDtvrM1J8uBIT8=";
};
vendorHash = "sha256-c6aE6iD6yCnnuSEDhhr3v1ArcfLmSP8QhS7Cz7rtVHs=";
meta = with lib; {
description = "Command line tool for creating and applying UPS patch files";
homepage = "https://github.com/rameshvarun/ups";
license = licenses.mit;
maintainers = with maintainers; [ ruby0b ];
};
}