blob: e7f7334de3e03c8e4fd7b892722575de514eb409 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ 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.hostPlatform.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";
};
}
|