Merge pull request #188526 from sikmir/svgwrite

python3Packages.svgwrite: 1.4.1 → 1.4.3
This commit is contained in:
Robert Scott 2022-08-28 11:53:15 +01:00 committed by GitHub
commit 930055208b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";