forked from mirrors/nixpkgs
termtosvg: 0.3.0 -> 0.6.0
This commit is contained in:
parent
572b514582
commit
d1e477509c
1 changed files with 3 additions and 7 deletions
|
@ -2,21 +2,17 @@
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "termtosvg";
|
pname = "termtosvg";
|
||||||
version = "0.3.0";
|
version = "0.6.0";
|
||||||
|
|
||||||
# tests are not available when fetching from pypi
|
# tests are not available when fetching from pypi
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nbedos";
|
owner = "nbedos";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "09hw0467pyfj5gwn3768b3rvs5ch3wb1kaax7zsqjd7mw2qh0cjw";
|
sha256 = "07d9ashxph16phhawypm99wlx82975hqk08v1n56hxr0nr4f7nd2";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [ svgwrite pyte ];
|
propagatedBuildInputs = with python3.pkgs; [ lxml pyte ];
|
||||||
|
|
||||||
checkInputs = [ python3.pkgs.mock ];
|
|
||||||
preCheck = "export HOME=$(mktemp -d)";
|
|
||||||
postCheck = "unset HOME";
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = https://github.com/nbedos/termtosvg;
|
homepage = https://github.com/nbedos/termtosvg;
|
||||||
|
|
Loading…
Add table
Reference in a new issue