2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-09-25 04:45:31 +00:00
|
|
|
, rustPlatform
|
|
|
|
, fetchCrate
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "asciinema-scenario";
|
2022-06-26 10:26:21 +00:00
|
|
|
version = "0.3.0";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2022-06-26 10:26:21 +00:00
|
|
|
sha256 = "sha256-fnX5CIYLdFqi04PQPVIAYDGn+xXi016l8pPcIrYIhmQ=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2022-06-26 10:26:21 +00:00
|
|
|
cargoSha256 = "sha256-8I3mPSJ5aXvQ88nh0SWyuTq9JSTktS2lQPrXlcvD66c=";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "Create asciinema videos from a text file";
|
2020-09-25 04:45:31 +00:00
|
|
|
homepage = "https://github.com/garbas/asciinema-scenario/";
|
|
|
|
maintainers = with maintainers; [ garbas ];
|
|
|
|
license = with licenses; [ mit ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "asciinema-scenario";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
}
|