nixpkgs/pkgs/by-name/ps/psw/package.nix
2025-07-26 11:39:35 +02:00

30 lines
615 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "psw";
version = "0.2.1";
src = fetchFromGitHub {
owner = "Wulfsta";
repo = "psw";
rev = version;
sha256 = "sha256-Rf6vpVgenTzb42/aGqItuxUodl61eNyUPlry7rgLPbI=";
};
cargoHash = "sha256-dfHcyGQYkjEAhrNRlD5BTbMwaZaO/E0KwqZJ8TjelGw=";
meta = with lib; {
description = "Command line tool to write random bytes to stdout";
homepage = "https://github.com/Wulfsta/psw";
license = with licenses; [
asl20 # or
mit
];
maintainers = with maintainers; [ wulfsta ];
};
}