Merge pull request #243223 from NickCao/aggdraw

python3Packages.aggdraw: set format, add missing dependencies
This commit is contained in:
Nick Cao 2023-07-18 06:22:25 -06:00 committed by GitHub
commit eddd37faae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,10 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, packaging
, setuptools
, pkgconfig
, freetype
, pytest
, python
, pillow
@ -10,6 +14,7 @@
buildPythonPackage rec {
pname = "aggdraw";
version = "1.3.16";
format = "pyproject";
src = fetchFromGitHub {
owner = "pytroll";
@ -18,6 +23,16 @@ buildPythonPackage rec {
hash = "sha256-2yajhuRyQ7BqghbSgPClW3inpw4TW2DhgQbomcRFx94=";
};
nativeBuildInputs = [
packaging
setuptools
pkgconfig
];
buildInputs = [
freetype
];
nativeCheckInputs = [
numpy
pillow