2018-07-06 13:11:50 +01:00
|
|
|
{ lib, python3, fetchFromGitHub }:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "termtosvg";
|
2018-12-14 08:57:52 +00:00
|
|
|
version = "0.7.0";
|
2018-07-06 13:11:50 +01:00
|
|
|
|
|
|
|
# tests are not available when fetching from pypi
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nbedos";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2018-12-14 08:57:52 +00:00
|
|
|
sha256 = "17hhdrsn9ggcrwqp2c1h2la9cwhdazfrczd7nnm5mz7w6rk25lx3";
|
2018-07-06 13:11:50 +01:00
|
|
|
};
|
|
|
|
|
2018-12-05 02:54:42 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [ lxml pyte ];
|
2018-07-06 13:11:50 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = https://github.com/nbedos/termtosvg;
|
|
|
|
description = "Record terminal sessions as SVG animations";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ ma27 ];
|
|
|
|
};
|
|
|
|
}
|