nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, rustPlatform
3, fetchCrate
4}:
5rustPlatform.buildRustPackage rec {
6 pname = "krabby";
7 version = "0.1.6";
8
9 src = fetchCrate {
10 inherit pname version;
11 sha256 = "sha256-BUX3D/UXJt9OxajUYaUDxI0u4t4ntSxqI1PMtk5IZNQ=";
12 };
13
14 cargoHash = "sha256-XynD19mlCmhHUCfbr+pmWkpb+D4+vt3bsgV+bpbUoaY=";
15
16 meta = with lib; {
17 description = "Print pokemon sprites in your terminal";
18 homepage = "https://github.com/yannjor/krabby";
19 changelog = "https://github.com/yannjor/krabby/releases/tag/v${version}";
20 license = licenses.gpl3;
21 maintainers = with maintainers; [ ruby0b ];
22 };
23}