nixpkgs-suyu/pkgs/tools/misc/asciinema-scenario/default.nix
2023-11-27 02:17:53 +01:00

24 lines
602 B
Nix

{ lib
, rustPlatform
, fetchCrate
}:
rustPlatform.buildRustPackage rec {
pname = "asciinema-scenario";
version = "0.3.0";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-fnX5CIYLdFqi04PQPVIAYDGn+xXi016l8pPcIrYIhmQ=";
};
cargoSha256 = "sha256-8I3mPSJ5aXvQ88nh0SWyuTq9JSTktS2lQPrXlcvD66c=";
meta = with lib; {
description = "Create asciinema videos from a text file";
homepage = "https://github.com/garbas/asciinema-scenario/";
maintainers = with maintainers; [ garbas ];
license = with licenses; [ mit ];
mainProgram = "asciinema-scenario";
};
}