nixpkgs/pkgs/tools/misc/asciinema-agg/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

34 lines
919 B
Nix

{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
rustPlatform.buildRustPackage rec {
pname = "agg";
version = "1.4.3";
src = fetchFromGitHub {
owner = "asciinema";
repo = "agg";
rev = "v${version}";
sha256 = "sha256-WCUYnveTWWQOzhIViMkSnyQ6vgLs5HDLWa/xvfZMh3A=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"avt-0.8.0" = "sha256-5IN8P/2UWJ2EmkbbTSGWECTqiD8TeOd8LgwLZ+W2z90=";
};
};
buildInputs = lib.optionals stdenv.isDarwin [
Security
];
meta = with lib; {
description = "Command-line tool for generating animated GIF files from asciicast v2 files produced by asciinema terminal recorder";
homepage = "https://github.com/asciinema/agg";
changelog = "https://github.com/asciinema/agg/releases/tag/${src.rev}";
license = licenses.asl20;
maintainers = with maintainers; [ figsoda ];
mainProgram = "agg";
};
}