lol
at 24.05-pre 28 lines 704 B view raw
1{ lib, stdenv 2, fetchgit 3, rustPlatform 4, CoreFoundation 5, libiconv 6, Security 7}: 8rustPlatform.buildRustPackage rec { 9 pname = "genpass"; 10 version = "0.5.1"; 11 12 src = fetchgit { 13 url = "https://git.sr.ht/~cyplo/genpass"; 14 rev = "v${version}"; 15 sha256 = "UyEgOlKtDyneRteN3jHA2BJlu5U1HFL8HA2MTQz5rns="; 16 }; 17 18 cargoSha256 = "ls3tzZ+gtZQlObmbtwJDq6N/f5nY+Ps7RL5R/fR5Vgg="; 19 20 buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation libiconv Security ]; 21 22 meta = with lib; { 23 description = "A simple yet robust commandline random password generator"; 24 homepage = "https://sr.ht/~cyplo/genpass/"; 25 license = licenses.agpl3Only; 26 maintainers = with maintainers; [ cyplo ]; 27 }; 28}