blob: e4295f63ba054c49d13a4c29dd1f4139cd599472 (
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
36
37
38
39
40
41
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, dotmap
, matplotlib
, pyclipper
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "beziers";
version = "0.5.0";
format = "setuptools";
# PyPI doesn't have a proper source tarball, fetch from Github instead
src = fetchFromGitHub {
owner = "simoncozens";
repo = "beziers.py";
rev = "v${version}";
hash = "sha256-4014u7s47Tfdpa2Q9hKAoHg7Ebcs1/DVW5TpEmoh2bc=";
};
propagatedBuildInputs = [
pyclipper
];
doCheck = true;
nativeCheckInputs = [
dotmap
matplotlib
unittestCheckHook
];
unittestFlagsArray = [ "-s" "test" "-v" ];
meta = with lib; {
description = "Python library for manipulating Bezier curves and paths in fonts";
homepage = "https://github.com/simoncozens/beziers.py";
license = licenses.mit;
maintainers = with maintainers; [ danc86 ];
};
}
|