Merge pull request #188526 from sikmir/svgwrite
python3Packages.svgwrite: 1.4.1 → 1.4.3
This commit is contained in:
commit
930055208b
1 changed files with 8 additions and 10 deletions
|
@ -2,31 +2,29 @@
|
|||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "svgwrite";
|
||||
version = "1.4.1";
|
||||
version = "1.4.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mozman";
|
||||
repo = "svgwrite";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-d//ZUFb5yj51uD1fb6yJJROaQ2MLyfA3Pa84TblqLNk=";
|
||||
sha256 = "sha256-uOsrDhE9AwWU7GIrCVuL3uXTPqtrh8sofvo2C5t+25I=";
|
||||
};
|
||||
|
||||
# svgwrite requires Python 3.6 or newer
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
# embed_google_web_font test tried to pull font from internet
|
||||
checkPhase = ''
|
||||
pytest -k "not test_embed_google_web_font"
|
||||
'';
|
||||
disabledTests = [
|
||||
# embed_google_web_font test tried to pull font from internet
|
||||
"test_embed_google_web_font"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python library to create SVG drawings";
|
||||
|
|
Loading…
Reference in a new issue