2021-01-10 23:00:17 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "psw";
|
2021-01-17 00:54:36 +00:00
|
|
|
version = "0.2.0";
|
2021-01-10 23:00:17 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Wulfsta";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-01-17 00:54:36 +00:00
|
|
|
sha256 = "1nwmps3zw99lrz6k1j14w4rcm7yj8vhf4cs9wjfc3c1zfjibz9iz";
|
2021-01-10 23:00:17 +00:00
|
|
|
};
|
|
|
|
|
2021-05-07 11:00:49 +00:00
|
|
|
cargoSha256 = "1y2am1bz68q7d9bn4264al13fv2j6a87bwrd60ycx0qak9fczlmv";
|
2021-01-10 23:00:17 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A 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 ];
|
|
|
|
};
|
|
|
|
}
|