nixpkgs/pkgs/by-name/gh/gh-gei/package.nix
2024-11-20 15:54:43 +00:00

30 lines
724 B
Nix

{ lib
, fetchFromGitHub
, buildDotnetModule
, dotnetCorePackages
}:
buildDotnetModule rec {
pname = "gh-gei";
version = "1.9.0";
src = fetchFromGitHub {
owner = "github";
repo = pname;
rev = "v${version}";
hash = "sha256-6lEEeAYrMB9wwATsORuaS21wLOB+gq/od88FobSse50=";
};
dotnet-sdk = dotnetCorePackages.sdk_6_0;
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";
};
}