Merge pull request #195914 from marsam/update-git-gone

git-gone: 0.4.1 -> 0.4.2

authored by Mario Rodas and committed by GitHub fc0f6783 7a58d0f7

+10 -12
+10 -12
pkgs/applications/version-management/git-and-tools/git-gone/default.nix
··· 1 1 { lib 2 2 , stdenv 3 - , fetchFromGitea 3 + , fetchFromGitHub 4 4 , rustPlatform 5 - , libiconv 6 5 , Security 7 6 , installShellFiles 8 7 }: 9 8 10 9 rustPlatform.buildRustPackage rec { 11 10 pname = "git-gone"; 12 - version = "0.4.1"; 11 + version = "0.4.2"; 13 12 14 - src = fetchFromGitea { 15 - domain = "codeberg.org"; 16 - owner = "flausch"; 17 - repo = pname; 13 + src = fetchFromGitHub { 14 + owner = "lunaryorn"; 15 + repo = "git-gone"; 18 16 rev = "v${version}"; 19 - sha256 = "sha256-kqKFs3xvTVHnsLpLC9gjj1dcPChhegmupNrbWy+7C6o="; 17 + sha256 = "sha256-aKBNi797aMPawxD+BLpk0sazXz2g0XTzmDpR/mk07no="; 20 18 }; 21 19 22 - cargoSha256 = "sha256-8R13eHS69fQ3r3LYlnB3nPTPX7VesUPlAUCmQEpUUdw="; 20 + cargoSha256 = "sha256-vO1ePqDIy5HEBauO3OkMCovrgtIVB9biJExw/q89ivE="; 23 21 24 22 nativeBuildInputs = [ installShellFiles ]; 25 23 26 - buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ]; 24 + buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 27 25 28 26 postInstall = '' 29 27 installManPage git-gone.1 ··· 31 29 32 30 meta = with lib; { 33 31 description = "Cleanup stale Git branches of merge requests"; 34 - homepage = "https://codeberg.org/flausch/git-gone"; 35 - changelog = "https://codeberg.org/flausch/git-gone/raw/tag/v${version}/CHANGELOG.md"; 32 + homepage = "https://github.com/lunaryorn/git-gone"; 33 + changelog = "https://github.com/lunaryorn/git-gone/raw/v${version}/CHANGELOG.md"; 36 34 license = licenses.asl20; 37 35 maintainers = [ maintainers.marsam ]; 38 36 };