nixpkgs/pkgs/tools/misc/termtosvg/default.nix
2018-12-04 22:16:36 -05:00

24 lines
615 B
Nix

{ 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 ];
};
}