diff --git a/pkgs/tools/misc/asciinema-scenario/default.nix b/pkgs/tools/misc/asciinema-scenario/default.nix new file mode 100644 index 00000000000..29538f94017 --- /dev/null +++ b/pkgs/tools/misc/asciinema-scenario/default.nix @@ -0,0 +1,23 @@ +{ stdenv +, rustPlatform +, fetchCrate +}: + +rustPlatform.buildRustPackage rec { + pname = "asciinema-scenario"; + version = "0.1.0"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-ubiVpKFU81Ot9V9oMexWSiUXHepoJ6nXtrWVAFhgcYw="; + }; + + cargoSha256 = "109ij5h31bhn44l0wywgpnnlfjgyairxr5l19s6bz47sbka0xyxk"; + + meta = with stdenv.lib; { + description = "Create asciinema videos from a text file."; + homepage = "https://github.com/garbas/asciinema-scenario/"; + maintainers = with maintainers; [ garbas ]; + license = with licenses; [ mit ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2392a0a262e..a8b1ee4c83a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -772,6 +772,8 @@ in asciinema = callPackage ../tools/misc/asciinema {}; + asciinema-scenario = callPackage ../tools/misc/asciinema-scenario {}; + asciiquarium = callPackage ../applications/misc/asciiquarium {}; ashuffle = callPackage ../applications/audio/ashuffle {};