python3Packages.aggdraw: 1.3.16 -> 1.3.18

This commit is contained in:
steinuil 2024-04-05 12:17:11 +02:00
parent 0148ce6b0a
commit 0f768a9a56
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