From eed18924fe76f2ec37d03dd93470265093619632 Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Tue, 6 Jun 2023 19:46:51 -0600 Subject: [PATCH 1/2] furtherance: 1.7.0 -> 1.8.0 --- pkgs/applications/misc/furtherance/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/furtherance/default.nix b/pkgs/applications/misc/furtherance/default.nix index ef2b99197518..3e7432d6cd3e 100644 --- a/pkgs/applications/misc/furtherance/default.nix +++ b/pkgs/applications/misc/furtherance/default.nix @@ -6,19 +6,19 @@ stdenv.mkDerivation rec { pname = "furtherance"; - version = "1.7.0"; + version = "1.8.0"; src = fetchFromGitHub { owner = "lakoliu"; repo = "Furtherance"; rev = "v${version}"; - sha256 = "sha256-M3k2q32/vMG9uTHk2qqUz0E4ptzxfCOrs9NMjtyxZ5Y="; + sha256 = "sha256-l62k7aFyKfYWO+Z85KR8tpwts28pamINHYp/oKuHkhc="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - sha256 = "sha256-qLrX3X8wgNrI8G0RgWydVA35cdxcblSUxTKHty+eCds="; + sha256 = "sha256-AuXSX+64rJcTChpsE5tqk67bihKkSyimFAMhb1VdbBs="; }; nativeBuildInputs = [ From a1768a41da3b01767b7249fbb09903660c3f671e Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Wed, 7 Jun 2023 09:23:08 -0600 Subject: [PATCH 2/2] furtherance 1.8.0 changed rec into finalAttrs --- pkgs/applications/misc/furtherance/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/misc/furtherance/default.nix b/pkgs/applications/misc/furtherance/default.nix index 3e7432d6cd3e..e9c8a28950fd 100644 --- a/pkgs/applications/misc/furtherance/default.nix +++ b/pkgs/applications/misc/furtherance/default.nix @@ -4,21 +4,21 @@ , dbus, gtk4, sqlite }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "furtherance"; version = "1.8.0"; src = fetchFromGitHub { owner = "lakoliu"; repo = "Furtherance"; - rev = "v${version}"; - sha256 = "sha256-l62k7aFyKfYWO+Z85KR8tpwts28pamINHYp/oKuHkhc="; + rev = "v${finalAttrs.version}"; + hash = "sha256-l62k7aFyKfYWO+Z85KR8tpwts28pamINHYp/oKuHkhc="; }; cargoDeps = rustPlatform.fetchCargoTarball { - inherit src; - name = "${pname}-${version}"; - sha256 = "sha256-AuXSX+64rJcTChpsE5tqk67bihKkSyimFAMhb1VdbBs="; + inherit (finalAttrs) src; + name = "${finalAttrs.pname}-${finalAttrs.version}"; + hash = "sha256-AuXSX+64rJcTChpsE5tqk67bihKkSyimFAMhb1VdbBs="; }; nativeBuildInputs = [ @@ -48,4 +48,4 @@ stdenv.mkDerivation rec { platforms = platforms.linux; maintainers = with maintainers; [ CaptainJawZ ]; }; -} +})