From ddd54db90531327a0b793586c6583316ad2c0acf Mon Sep 17 00:00:00 2001 From: Emi Simpson Date: Sun, 23 Jun 2024 09:59:11 -0400 Subject: [PATCH] Upgrade dw --- packages/dw.nix | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/packages/dw.nix b/packages/dw.nix index 497de51..0da1bb8 100644 --- a/packages/dw.nix +++ b/packages/dw.nix @@ -1,16 +1,23 @@ {pkgs, lib, ...}: pkgs.rustPlatform.buildRustPackage rec { pname = "dw"; - version = "0.1.0"; + version = "0.2.0"; - src = pkgs.fetchFromGitea { - domain = "fem.mint.lgbt"; - owner = "Emi"; - repo = "password-script"; - rev = "v0.1.0"; - sha256 = "0w/MOHG7oe1TZEiFmSOk+o34uxArF2DCjns7Tb6l9sw="; + # Gitea downloads failing as of right now + # src = pkgs.fetchFromGitea { + # domain = "fem.mint.lgbt"; + # owner = "Emi"; + # repo = "password-script"; + # rev = "v0.2.0"; + # sha256 = "0w/MOHG7oe1TZEiFmSOk+o34uxArF2DCjns7Tb6l9sw="; + # }; + + src = pkgs.fetchgit { + url = "https://fem.mint.lgbt/Emi/password-script.git"; + rev = "v0.2.0"; + sha256 = "xlp6nV/GbuNCGDnpyhplSGsioG3RrVD4JTauiD+UT+g="; }; - cargoSha256 = "0oVTwNrE3Qoz+K+daBUwVKCKUxJkodqQYMz0TT4FpHg="; + cargoSha256 = "iWiNV/YMKmyMC9tawkW3hqEtVZZUhiGFpCZ66vBUHv8="; meta = { description = "A simple diceware script, with defaults picked by Emi";