Nix-Configs/packages/dw.nix

33 lines
879 B
Nix
Raw Normal View History

2023-03-16 02:14:27 +00:00
{pkgs, lib, ...}: pkgs.rustPlatform.buildRustPackage rec {
pname = "dw";
2024-06-23 13:59:11 +00:00
version = "0.2.0";
2023-03-16 02:14:27 +00:00
2024-06-23 13:59:11 +00:00
# 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=";
2023-03-16 02:14:27 +00:00
};
2024-06-23 13:59:11 +00:00
cargoSha256 = "iWiNV/YMKmyMC9tawkW3hqEtVZZUhiGFpCZ66vBUHv8=";
2023-03-16 02:14:27 +00:00
meta = {
description = "A simple diceware script, with defaults picked by Emi";
homepage = "https://fem.mint.lgbt/Emi/password-script";
2023-03-16 13:45:37 +00:00
license = lib.licenses.cc-by-nc-40;
2023-03-16 02:14:27 +00:00
maintainers = [{
email = "ember@corviform.gay";
github = "Alch-Emi";
githubId = 38897201;
name = "Ember Hearth";
}];
};
}