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

View File

@ -1,6 +1,5 @@
{ lib { lib
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, buildPythonPackage , buildPythonPackage
, packaging , packaging
, setuptools , setuptools
@ -14,24 +13,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aggdraw"; pname = "aggdraw";
version = "1.3.16"; version = "1.3.18";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pytroll"; owner = "pytroll";
repo = pname; repo = pname;
rev = "v${version}"; 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 = [ nativeBuildInputs = [
packaging packaging
setuptools setuptools