evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / svgwrite / default.nix
blob24bb2622ecc198e8240a3d55ccce8b37102d2b36
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   pytestCheckHook,
7 }:
9 buildPythonPackage rec {
10   pname = "svgwrite";
11   version = "1.4.3";
12   format = "setuptools";
14   src = fetchFromGitHub {
15     owner = "mozman";
16     repo = "svgwrite";
17     rev = "v${version}";
18     hash = "sha256-uOsrDhE9AwWU7GIrCVuL3uXTPqtrh8sofvo2C5t+25I=";
19   };
21   # svgwrite requires Python 3.6 or newer
22   disabled = pythonOlder "3.6";
24   nativeCheckInputs = [ pytestCheckHook ];
26   disabledTests = [
27     # embed_google_web_font test tried to pull font from internet
28     "test_embed_google_web_font"
29   ];
31   meta = with lib; {
32     description = "Python library to create SVG drawings";
33     homepage = "https://github.com/mozman/svgwrite";
34     license = licenses.mit;
35   };