3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/termtosvg/default.nix

24 lines
615 B
Nix
Raw Normal View History

{ lib, python3, fetchFromGitHub }:
python3.pkgs.buildPythonApplication rec {
pname = "termtosvg";
2019-01-20 15:20:36 +00:00
version = "0.8.0";
# tests are not available when fetching from pypi
src = fetchFromGitHub {
owner = "nbedos";
repo = pname;
rev = version;
2019-01-20 15:20:36 +00:00
sha256 = "0si5l8cdbzapcibr4yavhld2vhfrpk7qj4cy7m4ws7js8g9iwzd4";
};
2018-12-05 02:54:42 +00:00
propagatedBuildInputs = with python3.pkgs; [ lxml pyte ];
meta = with lib; {
2019-01-20 15:20:36 +00:00
homepage = https://nbedos.github.io/termtosvg/;
description = "Record terminal sessions as SVG animations";
license = licenses.bsd3;
maintainers = with maintainers; [ ma27 ];
};
}