about summary refs log tree commit diff
path: root/pkgs/tools/misc/termtosvg/default.nix
blob: 33af6a9d67b639a2f61d65861f130a46f13048c5 (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
{ lib, python3, fetchFromGitHub }:

python3.pkgs.buildPythonApplication rec {
  pname = "termtosvg";
  version = "0.6.0";

  # tests are not available when fetching from pypi
  src = fetchFromGitHub {
    owner = "nbedos";
    repo = pname;
    rev = version;
    sha256 = "07d9ashxph16phhawypm99wlx82975hqk08v1n56hxr0nr4f7nd2";
  };

  propagatedBuildInputs = with python3.pkgs; [ lxml pyte ];

  meta = with lib; {
    homepage = https://github.com/nbedos/termtosvg;
    description = "Record terminal sessions as SVG animations";
    license = licenses.bsd3;
    maintainers = with maintainers; [ ma27 ];
  };
}