Commit 0f768a9a authored by steinuil's avatar steinuil
Browse files

python3Packages.aggdraw: 1.3.16 -> 1.3.18

parent 0148ce6b
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
{ 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