mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
c23a6612ac
Diff: https://github.com/asciinema/agg/compare/v1.4.1...v1.4.2 Changelog: https://github.com/asciinema/agg/releases/tag/v1.4.2
33 lines
896 B
Nix
33 lines
896 B
Nix
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "agg";
|
|
version = "1.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "asciinema";
|
|
repo = "agg";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-pyXGWSL2HnRfcLo1V/pFKNI08B51ZvmJsYhl893CUl0=";
|
|
};
|
|
|
|
cargoLock = {
|
|
lockFile = ./Cargo.lock;
|
|
outputHashes = {
|
|
"avt-0.6.0" = "sha256-JA1Ln90Pew6m5YOZp8weOC9JdKJqjFG0PDPNL2kDWUc=";
|
|
};
|
|
};
|
|
|
|
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";
|
|
changelog = "https://github.com/asciinema/agg/releases/tag/${src.rev}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
};
|
|
}
|