1 { lib, buildGoModule, fetchFromGitHub, git }:
3 pname = "git-bug-migration";
6 src = fetchFromGitHub {
8 repo = "git-bug-migration";
10 hash = "sha256-IOBgrU3C0ZHD2wx9LRVgKEJzDlUj6z2UXlHGU3tdTdQ=";
13 vendorHash = "sha256-Hid9OK91LNjLmDHam0ZlrVQopVOsqbZ+BH2rfQi5lS0=";
15 nativeCheckInputs = [ git ];
18 "-X main.GitExactTag=${version}"
19 "-X main.GitLastTag=${version}"
23 export HOME=$(mktemp -d)
24 git config --global user.name 'Nixpkgs Test User'
25 git config --global user.email 'nobody@localhost'
29 description = "Tool for upgrading repositories using git-bug to new versions";
30 homepage = "https://github.com/MichaelMure/git-bug-migration";
31 license = licenses.gpl3Plus;
32 maintainers = with maintainers; [ DeeUnderscore ];