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: cc29045d99f4
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6cff78771bd0
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Mar 13, 2019

  1. termtosvg: fetch source from pypi

    marsam authored and worldofpeace committed Mar 13, 2019
    Copy the full SHA
    6cff787 View commit details
Showing with 6 additions and 9 deletions.
  1. +6 −9 pkgs/tools/misc/termtosvg/default.nix
15 changes: 6 additions & 9 deletions pkgs/tools/misc/termtosvg/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
{ lib, python3, fetchFromGitHub }:
{ lib, python3Packages }:

python3.pkgs.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "termtosvg";
version = "0.8.0";

# tests are not available when fetching from pypi
src = fetchFromGitHub {
owner = "nbedos";
repo = pname;
rev = version;
sha256 = "0si5l8cdbzapcibr4yavhld2vhfrpk7qj4cy7m4ws7js8g9iwzd4";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "e3a0a7bd511028c96d242525df807a23e6f22e55b111a7ee861f294a86224b0c";
};

propagatedBuildInputs = with python3.pkgs; [ lxml pyte ];
propagatedBuildInputs = with python3Packages; [ lxml pyte ];

meta = with lib; {
homepage = https://nbedos.github.io/termtosvg/;