mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #243223 from NickCao/aggdraw
python3Packages.aggdraw: set format, add missing dependencies
This commit is contained in:
commit
eddd37faae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user