aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/misc/asciinema-scenario/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/asciinema-scenario/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/misc/asciinema-scenario/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/misc/asciinema-scenario/default.nix b/nixpkgs/pkgs/tools/misc/asciinema-scenario/default.nix
new file mode 100644
index 00000000000..29538f94017
--- /dev/null
+++ b/nixpkgs/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 ];
+ };
+}