3
0
Fork 0
forked from mirrors/nixpkgs

termtosvg: 0.3.0 -> 0.6.0

This commit is contained in:
Mario Rodas 2018-12-04 21:54:42 -05:00
parent 572b514582
commit d1e477509c
No known key found for this signature in database
GPG key ID: 325649BCA6D53027

View file

@ -2,21 +2,17 @@
python3.pkgs.buildPythonApplication rec {
pname = "termtosvg";
version = "0.3.0";
version = "0.6.0";
# tests are not available when fetching from pypi
src = fetchFromGitHub {
owner = "nbedos";
repo = pname;
rev = version;
sha256 = "09hw0467pyfj5gwn3768b3rvs5ch3wb1kaax7zsqjd7mw2qh0cjw";
sha256 = "07d9ashxph16phhawypm99wlx82975hqk08v1n56hxr0nr4f7nd2";
};
propagatedBuildInputs = with python3.pkgs; [ svgwrite pyte ];
checkInputs = [ python3.pkgs.mock ];
preCheck = "export HOME=$(mktemp -d)";
postCheck = "unset HOME";
propagatedBuildInputs = with python3.pkgs; [ lxml pyte ];
meta = with lib; {
homepage = https://github.com/nbedos/termtosvg;