nixpkgs/pkgs/by-name/gh/gh-gei/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

27 lines
660 B
Nix

{ lib
, fetchFromGitHub
, buildDotnetModule
}:
buildDotnetModule rec {
pname = "gh-gei";
version = "1.8.0";
src = fetchFromGitHub {
owner = "github";
repo = pname;
rev = "v${version}";
hash = "sha256-F1sxT9wh/K6VP7n1SlmmvmHlcgxDJw6Rht2hPIiRFjE=";
};
projectFile = "src/gei/gei.csproj";
nugetDeps = ./deps.nix; # File generated with `nix-build -A gh-gei.passthru.fetch-deps`.
meta = with lib; {
homepage = "https://github.com/github/gh-gei";
description = "Migration CLI for GitHub to GitHub migrations";
license = licenses.mit;
maintainers = with maintainers; [ lafrenierejm ];
mainProgram = "gei";
};
}