mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
Merge pull request #193110 from figsoda/agg
asciinema-agg: init at 1.3.0
This commit is contained in:
commit
c522de6ebe
26
pkgs/tools/misc/asciinema-agg/default.nix
Normal file
26
pkgs/tools/misc/asciinema-agg/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "agg";
|
||||||
|
version = "1.3.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "asciinema";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "15j7smkjv2z9vd7drdq83g40j986ny39ai6y9rnai3iljsycyvgs";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-ORSYIRcvnKFkJxEjiTUSa1gkfmiQs3EAVOpXePVgBPQ=";
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
|
Security
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A command-line tool for generating animated GIF files from asciicast v2 files produced by asciinema terminal recorder";
|
||||||
|
homepage = "https://github.com/asciinema/agg";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ figsoda ];
|
||||||
|
};
|
||||||
|
}
|
@ -2092,6 +2092,10 @@ with pkgs;
|
|||||||
|
|
||||||
asciinema = callPackage ../tools/misc/asciinema {};
|
asciinema = callPackage ../tools/misc/asciinema {};
|
||||||
|
|
||||||
|
asciinema-agg = callPackage ../tools/misc/asciinema-agg {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
asciinema-scenario = callPackage ../tools/misc/asciinema-scenario {};
|
asciinema-scenario = callPackage ../tools/misc/asciinema-scenario {};
|
||||||
|
|
||||||
asciiquarium = callPackage ../applications/misc/asciiquarium {};
|
asciiquarium = callPackage ../applications/misc/asciiquarium {};
|
||||||
|
Loading…
Reference in New Issue
Block a user