depot/third_party/nixpkgs/pkgs/by-name/te/termtosvg/package.nix

29 lines
572 B
Nix

{
lib,
python3Packages,
fetchPypi,
}:
python3Packages.buildPythonApplication rec {
pname = "termtosvg";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "1vk5kn8w3zf2ymi76l8cpwmvvavkmh3b9lb18xw3x1vzbmhz2f7d";
};
propagatedBuildInputs = with python3Packages; [
lxml
pyte
wcwidth
];
meta = with lib; {
homepage = "https://nbedos.github.io/termtosvg/";
description = "Record terminal sessions as SVG animations";
license = licenses.bsd3;
maintainers = [ ];
mainProgram = "termtosvg";
};
}