Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 16fb6c7d9137
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ca08e6754452
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Dec 5, 2018

  1. termtosvg: 0.3.0 -> 0.6.0

    marsam committed Dec 5, 2018
    Copy the full SHA
    d1e4775 View commit details
  2. Merge pull request #51544 from marsam/update-term2svg

    termtosvg: 0.3.0 -> 0.6.0
    rasendubi authored Dec 5, 2018
    Copy the full SHA
    ca08e67 View commit details
Showing with 3 additions and 7 deletions.
  1. +3 −7 pkgs/tools/misc/termtosvg/default.nix
10 changes: 3 additions & 7 deletions pkgs/tools/misc/termtosvg/default.nix
Original file line number Diff line number Diff line change
@@ -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;