blob: fa436ff84463ece17015d7e115e082abc9cd5fce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{ lib
, buildPythonPackage
, fetchPypi
, pillow
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "svg.path";
version = "5.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-CltSq7BGQNmC/3EI5N0wx4QDu0zZWMJLovCUdtXZIws=";
};
checkInputs = [
pillow
pytestCheckHook
];
disabledTests = [
# generated image differs from example
"test_image"
];
pythonImportsCheck = [ "svg.path" ];
meta = with lib; {
description = "SVG path objects and parser";
homepage = "https://github.com/regebro/svg.path";
license = licenses.mit;
maintainers = with maintainers; [ goibhniu ];
};
}
|