mastodon: 4.3.1 -> 4.3.2 (#361487)
[NixPkgs.git] / pkgs / by-name / ru / rusty-diceware / package.nix
blobacc271e0f7a1ff44b89c5114872eafd6fc005461
1 { fetchFromGitLab
2 , lib
3 , rustPlatform
4 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "rusty-diceware";
8   version = "0.5.8";
10   src = fetchFromGitLab {
11     owner = "yuvallanger";
12     repo = "rusty-diceware";
13     rev = "diceware-v${version}";
14     hash = "sha256-GDWvHHl4EztTaR0jI4XL1I9qE2KSL+q9C8IvLWQF4Ys=";
15   };
17   cargoHash = "sha256-5SAKrNgFG3O+hLKvEGhawyRi7wiEPWmxPsLtEX0OkDM=";
19   doCheck = true;
21   meta = with lib; {
22     description = "Commandline diceware, with or without dice, written in Rustlang";
23     homepage = "https://gitlab.com/yuvallanger/rusty-diceware";
24     changelog = "https://gitlab.com/yuvallanger/rusty-diceware/-/blob/v${version}/CHANGELOG.md?ref_type=heads";
25     license = licenses.gpl3;
26     maintainers = with maintainers; [ cherrykitten ];
27     mainProgram = "diceware";
28   };