Merge pull request #320726 from CherryKitten/init-rusty-diceware
rusty-diceware: init at 0.5.8
This commit is contained in:
commit
485ada007f
29
pkgs/by-name/ru/rusty-diceware/package.nix
Normal file
29
pkgs/by-name/ru/rusty-diceware/package.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ fetchFromGitLab
|
||||||
|
, lib
|
||||||
|
, rustPlatform
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "rusty-diceware";
|
||||||
|
version = "0.5.8";
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
owner = "yuvallanger";
|
||||||
|
repo = "rusty-diceware";
|
||||||
|
rev = "diceware-v${version}";
|
||||||
|
hash = "sha256-GDWvHHl4EztTaR0jI4XL1I9qE2KSL+q9C8IvLWQF4Ys=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-5SAKrNgFG3O+hLKvEGhawyRi7wiEPWmxPsLtEX0OkDM=";
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Commandline diceware, with or without dice, written in Rustlang";
|
||||||
|
homepage = "https://gitlab.com/yuvallanger/rusty-diceware";
|
||||||
|
changelog = "https://gitlab.com/yuvallanger/rusty-diceware/-/blob/v${version}/CHANGELOG.md?ref_type=heads";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = with maintainers; [ cherrykitten ];
|
||||||
|
mainProgram = "diceware";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user