summary refs log tree commit diff
path: root/pkgs/tools/security/genpass
diff options
context:
space:
mode:
authorCyryl PÅ‚otnicki <cyplo@cyplo.net>2020-11-01 00:56:18 +0000
committerCyryl PÅ‚otnicki <cyplo@cyplo.net>2020-11-01 00:56:18 +0000
commite687a4d233b3b8800805484d3f1df5a269c8fcfc (patch)
tree2e51294d19725600f836e9c65f8f055b74b4b03b /pkgs/tools/security/genpass
parent705b159498f37ad714f3adfdfee957b02bddc49e (diff)
genpass: 0.4.1 -> 0.4.9
* caught up with the newest released version
* genpass main repo moved to sourcehut
Diffstat (limited to 'pkgs/tools/security/genpass')
-rw-r--r--pkgs/tools/security/genpass/default.nix15
1 files changed, 7 insertions, 8 deletions
diff --git a/pkgs/tools/security/genpass/default.nix b/pkgs/tools/security/genpass/default.nix
index 4310d3a8919f7..6818af194b3ab 100644
--- a/pkgs/tools/security/genpass/default.nix
+++ b/pkgs/tools/security/genpass/default.nix
@@ -1,5 +1,5 @@
 { stdenv
-, fetchFromGitHub
+, fetchgit
 , rustPlatform
 , CoreFoundation
 , libiconv
@@ -7,22 +7,21 @@
 }:
 rustPlatform.buildRustPackage rec {
   pname = "genpass";
-  version = "0.4.1";
+  version = "0.4.9";
 
-  src = fetchFromGitHub {
-    owner = "cyplo";
-    repo = pname;
+  src = fetchgit {
+    url = "https://git.sr.ht/~cyplo/genpass";
     rev = "v${version}";
-    sha256 = "1b22m7g55k5ry0vwyd8pakh8rmfkhk37qy5r74cn3n5pv3fcwini";
+    sha256 = "1dpv2iyd48xd8yw9bmymjjrkhsgmpwvsl5b9zx3lpaaq59ypi9g9";
   };
 
-  cargoSha256 = "1p6l64s9smhwka8bh3pamqimamxziad859i62nrmxzqc49nq5s7m";
+  cargoSha256 = "1cwxpc3xkw673wiamr4v7clrzwxl8ma1vdr6bw0hixm37gxdxz7x";
 
   buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation libiconv Security ];
 
   meta = with stdenv.lib; {
     description = "A simple yet robust commandline random password generator";
-    homepage = "https://github.com/cyplo/genpass";
+    homepage = "https://sr.ht/~cyplo/genpass/";
     license = licenses.agpl3;
     maintainers = with maintainers; [ cyplo ];
   };