forked from mirrors/nixpkgs
Merge pull request #51544 from marsam/update-term2svg
termtosvg: 0.3.0 -> 0.6.0
This commit is contained in:
commit
ca08e67544
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue