Merge pull request #301794 from steinuil/aggdraw-1.3.18

python3Packages.aggdraw: 1.3.16 -> 1.3.18
This commit is contained in:
Peder Bergebakken Sundt 2024-04-06 18:13:44 +02:00 committed by GitHub
commit 32ee69592f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 11 deletions

View File

@ -1,6 +1,5 @@
{ lib
, fetchFromGitHub
, fetchpatch
, buildPythonPackage
, packaging
, setuptools
@ -14,24 +13,16 @@
buildPythonPackage rec {
pname = "aggdraw";
version = "1.3.16";
version = "1.3.18";
format = "pyproject";
src = fetchFromGitHub {
owner = "pytroll";
repo = pname;
rev = "v${version}";
hash = "sha256-2yajhuRyQ7BqghbSgPClW3inpw4TW2DhgQbomcRFx94=";
hash = "sha256-dM6yLR6xsZerpqY+BMxIjrJ3fQty9CFUWhxl2zkTgRA=";
};
patches = [
# Removes `register` storage class specifier, which is not allowed in C++17.
(fetchpatch {
url = "https://github.com/pytroll/aggdraw/commit/157ed49803567e8c3eeb7dfeff4c116db35747f7.patch";
hash = "sha256-QSzpO90u5oSBWUzehRFbXgZ1ApEfLlfp11MUx6w11aI=";
})
];
nativeBuildInputs = [
packaging
setuptools