mypaint: Fix build

This commit is contained in:
Jan Tojnar 2022-04-06 23:21:37 +02:00
parent b6966d911d
commit 1de1469af8

View File

@ -1,5 +1,6 @@
{ lib
, fetchFromGitHub
, fetchpatch
, gtk3
, gettext
, json_c
@ -31,6 +32,15 @@ in buildPythonApplication rec {
fetchSubmodules = true;
};
patches = [
# Fix build due to setuptools issue.
# https://github.com/mypaint/mypaint/pull/1183
(fetchpatch {
url = "https://github.com/mypaint/mypaint/commit/423950bec96d6057eac70442de577364d784a847.patch";
sha256 = "OxJJOi20bFMRibL59zx6svtMrkgeMYyEvbdSXbZHqpc=";
})
];
nativeBuildInputs = [
gettext
pkg-config