From e183519871591fad0588a0e5e656a7041d7e0c67 Mon Sep 17 00:00:00 2001 From: figsoda Date: Mon, 26 Jun 2023 22:25:57 -0400 Subject: [PATCH] fclones-gui: 0.1.3 -> 0.1.4 Diff: https://github.com/pkolaczk/fclones-gui/compare/v0.1.3...v0.1.4 Changelog: https://github.com/pkolaczk/fclones-gui/releases/tag/v0.1.4 --- pkgs/tools/misc/fclones/gui.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/misc/fclones/gui.nix b/pkgs/tools/misc/fclones/gui.nix index 0e7a6ae4dafa..2652b674e39b 100644 --- a/pkgs/tools/misc/fclones/gui.nix +++ b/pkgs/tools/misc/fclones/gui.nix @@ -1,6 +1,6 @@ { lib , rustPlatform -, fetchCrate +, fetchFromGitHub , pkg-config , wrapGAppsHook4 , gdk-pixbuf @@ -12,14 +12,16 @@ rustPlatform.buildRustPackage rec { pname = "fclones-gui"; - version = "0.1.3"; + version = "0.1.4"; - src = fetchCrate { - inherit pname version; - hash = "sha256-SQJ6CZlvu4V9Rs+rhH4jMf0AVWs71KvRUnUxGPlgj80="; + src = fetchFromGitHub { + owner = "pkolaczk"; + repo = "fclones-gui"; + rev = "v${version}"; + hash = "sha256-zJ5TqFmvUL1nKR8E+jGR4K6OGHJ4ckRky+bdKW0T30s="; }; - cargoHash = "sha256-8WLYbEbPrR8c0y+Uaxo6YGiFRt7FLHZM+1O/UZq0c7g="; + cargoHash = "sha256-QT4ZxjarPkEqJLKPsGAaMIaSUmKWZ1xtxWMe2uXaUek="; nativeBuildInputs = [ pkg-config @@ -36,7 +38,8 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Interactive duplicate file remover"; - homepage = "https://github.com/pkolaczk/fclones/tree/main/fclones-gui"; + homepage = "https://github.com/pkolaczk/fclones-gui"; + changelog = "https://github.com/pkolaczk/fclones-gui/releases/tag/${src.rev}"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; };