about summary refs log tree commit diff
path: root/pkgs/by-name/gh/gh-gei/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/gh/gh-gei/package.nix')
-rw-r--r--pkgs/by-name/gh/gh-gei/package.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/by-name/gh/gh-gei/package.nix b/pkgs/by-name/gh/gh-gei/package.nix
new file mode 100644
index 0000000000000..bf0ac23a7b0f9
--- /dev/null
+++ b/pkgs/by-name/gh/gh-gei/package.nix
@@ -0,0 +1,27 @@
+{ lib
+, fetchFromGitHub
+, buildDotnetModule
+}:
+
+buildDotnetModule rec {
+  pname = "gh-gei";
+  version = "1.7.1";
+
+  src = fetchFromGitHub {
+    owner = "github";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "sha256-cz301JzGZTAu0DcxmFpEmBemEij1+OIw4dB2PpwyYS0=";
+  };
+
+  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";
+  };
+}