Files
nixpkgs/pkgs/development/python-modules/beziers/default.nix
T
Martin Weinelt 266c161842 python312Packages: cleanup instances of doCheck = true
This is implicitly the case, and unless `doCheck` is referenced it makes
no sense setting it.
2024-10-26 01:47:02 +02:00

47 lines
957 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
dotmap,
matplotlib,
pyclipper,
unittestCheckHook,
gitUpdater,
}:
buildPythonPackage rec {
pname = "beziers";
version = "0.6.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-NjmWsRz/NPPwXPbiSaOeKJMrYmSyNTt5ikONyAljgvM=";
};
propagatedBuildInputs = [ pyclipper ];
nativeCheckInputs = [
dotmap
matplotlib
unittestCheckHook
];
unittestFlagsArray = [
"-s"
"test"
"-v"
];
passthru.updateScript = gitUpdater { rev-prefix = "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 ];
};
}