nixpkgs/pkgs/development/python-modules/pyclipper/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
769 B
Nix
Raw Normal View History

{
lib,
fetchFromGitHub,
2020-04-23 17:05:20 +01:00
buildPythonPackage,
2024-10-30 01:42:38 +00:00
setuptools,
setuptools-scm,
2020-04-23 17:05:20 +01:00
cython,
pytestCheckHook,
2020-04-23 17:05:20 +01:00
}:
buildPythonPackage rec {
pname = "pyclipper";
version = "1.3.0.post6";
2024-10-30 01:42:38 +00:00
pyproject = true;
src = fetchFromGitHub {
owner = "fonttools";
2024-10-30 01:42:38 +00:00
repo = "pyclipper";
rev = "refs/tags/${version}";
hash = "sha256-s2D0ipDatAaF7A1RYOKyI31nkfc/WL3vHWsAMbo+WcY=";
2020-04-23 17:05:20 +01:00
};
2024-10-30 01:42:38 +00:00
build-system = [
setuptools
setuptools-scm
2020-04-23 17:05:20 +01:00
cython
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyclipper" ];
2020-04-23 17:05:20 +01:00
meta = with lib; {
2020-04-23 17:05:20 +01:00
description = "Cython wrapper for clipper library";
homepage = "https://github.com/fonttools/pyclipper";
license = licenses.mit;
2020-04-23 17:05:20 +01:00
maintainers = with maintainers; [ matthuszagh ];
};
}