depot/third_party/nixpkgs/pkgs/tools/misc/asciinema-scenario/default.nix

24 lines
598 B
Nix

{ lib
, rustPlatform
, fetchCrate
}:
rustPlatform.buildRustPackage rec {
pname = "asciinema-scenario";
version = "0.3.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-fnX5CIYLdFqi04PQPVIAYDGn+xXi016l8pPcIrYIhmQ=";
};
cargoHash = "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";
};
}