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

Commits on Apr 13, 2019

  1. python.pkgs.cairosvg: fix isort-check

    Robert Schütz committed Apr 13, 2019
    Copy the full SHA
    bc14eed View commit details
Showing with 9 additions and 0 deletions.
  1. +9 −0 pkgs/development/python-modules/cairosvg/default.nix
9 changes: 9 additions & 0 deletions pkgs/development/python-modules/cairosvg/default.nix
Original file line number Diff line number Diff line change
@@ -13,6 +13,15 @@ buildPythonPackage rec {
sha256 = "66f333ef5dc79fdfbd3bbe98adc791b1f854e0461067d202fa7b15de66d517ec";
};

patches = [
# fix isort-check
(fetchpatch {
url = https://github.com/Kozea/CairoSVG/commit/b2534b0fc80b9f24a2bff2c938ac5da73ff1e478.patch;
excludes = [ "test_non_regression/__init__.py" ];
sha256 = "1bms75dd0fd978yhlr0k565zq45lzxf0vkihryb7gcwnd42bl6yf";
})
];

propagatedBuildInputs = [ cairocffi cssselect2 defusedxml pillow tinycss2 ];

checkInputs = [ pytest pytestrunner pytestcov pytest-flake8 pytest-isort ];