summary refs log tree commit diff
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2022-10-14 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2022-10-14 04:20:00 +0000
commit1c0da2400d0260586c3801b12a56c41e9f4fbf84 (patch)
treeef0e49069f603102752c2bff2a02819b77284e3b
parent31d567846255e122846548255101980162bbf641 (diff)
downloadnixpkgs-1c0da2400d0260586c3801b12a56c41e9f4fbf84.tar
nixpkgs-1c0da2400d0260586c3801b12a56c41e9f4fbf84.tar.gz
nixpkgs-1c0da2400d0260586c3801b12a56c41e9f4fbf84.tar.bz2
nixpkgs-1c0da2400d0260586c3801b12a56c41e9f4fbf84.tar.lz
nixpkgs-1c0da2400d0260586c3801b12a56c41e9f4fbf84.tar.xz
nixpkgs-1c0da2400d0260586c3801b12a56c41e9f4fbf84.tar.zst
nixpkgs-1c0da2400d0260586c3801b12a56c41e9f4fbf84.zip
git-gone: 0.4.1 -> 0.4.2
https://github.com/lunaryorn/git-gone/releases/tag/v0.4.2
-rw-r--r--pkgs/applications/version-management/git-and-tools/git-gone/default.nix22
1 files changed, 10 insertions, 12 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/git-gone/default.nix b/pkgs/applications/version-management/git-and-tools/git-gone/default.nix
index 7a26b38b6b2..5bdab4b081e 100644
--- a/pkgs/applications/version-management/git-and-tools/git-gone/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-gone/default.nix
@@ -1,29 +1,27 @@
 { lib
 , stdenv
-, fetchFromGitea
+, fetchFromGitHub
 , rustPlatform
-, libiconv
 , Security
 , installShellFiles
 }:
 
 rustPlatform.buildRustPackage rec {
   pname = "git-gone";
-  version = "0.4.1";
+  version = "0.4.2";
 
-  src = fetchFromGitea {
-    domain = "codeberg.org";
-    owner = "flausch";
-    repo = pname;
+  src = fetchFromGitHub {
+    owner = "lunaryorn";
+    repo = "git-gone";
     rev = "v${version}";
-    sha256 = "sha256-kqKFs3xvTVHnsLpLC9gjj1dcPChhegmupNrbWy+7C6o=";
+    sha256 = "sha256-aKBNi797aMPawxD+BLpk0sazXz2g0XTzmDpR/mk07no=";
   };
 
-  cargoSha256 = "sha256-8R13eHS69fQ3r3LYlnB3nPTPX7VesUPlAUCmQEpUUdw=";
+  cargoSha256 = "sha256-vO1ePqDIy5HEBauO3OkMCovrgtIVB9biJExw/q89ivE=";
 
   nativeBuildInputs = [ installShellFiles ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
+  buildInputs = lib.optionals stdenv.isDarwin [ Security ];
 
   postInstall = ''
     installManPage git-gone.1
@@ -31,8 +29,8 @@ rustPlatform.buildRustPackage rec {
 
   meta = with lib; {
     description = "Cleanup stale Git branches of merge requests";
-    homepage = "https://codeberg.org/flausch/git-gone";
-    changelog = "https://codeberg.org/flausch/git-gone/raw/tag/v${version}/CHANGELOG.md";
+    homepage = "https://github.com/lunaryorn/git-gone";
+    changelog = "https://github.com/lunaryorn/git-gone/raw/v${version}/CHANGELOG.md";
     license = licenses.asl20;
     maintainers = [ maintainers.marsam ];
   };