3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #51544 from marsam/update-term2svg

termtosvg: 0.3.0 -> 0.6.0
This commit is contained in:
Alexey Shmalko 2018-12-05 13:35:26 +02:00 committed by GitHub
commit ca08e67544
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;