git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #167591 from jtojnar/mypaint

mypaint: Fix build

commit01dee11f56fe94923b973d8b0f0005df497df9a6 authorajs124 <ajs124@users.noreply.github.com> dateFri 8 Apr 2022, 13:28 (5 years ago) parent2674e141de1469
1 file changed+10
pkgs/applications/graphics/mypaint/default.nix+10
pkgs/applications/graphics/mypaint/default.nix+10
@@ -1,5 +1,6 @@
11{ lib
22, fetchFromGitHub
3+, fetchpatch
34, gtk3
45, gettext
56, json_c
@@ -31,6 +32,15 @@ in buildPythonApplication rec {
3132 fetchSubmodules = true;
3233 };
3334
35+ patches = [
36+ # Fix build due to setuptools issue.
37+ # https://github.com/mypaint/mypaint/pull/1183
38+ (fetchpatch {
39+ url = "https://github.com/mypaint/mypaint/commit/423950bec96d6057eac70442de577364d784a847.patch";
40+ sha256 = "OxJJOi20bFMRibL59zx6svtMrkgeMYyEvbdSXbZHqpc=";
41+ })
42+ ];
43+
3444 nativeBuildInputs = [
3545 gettext
3646 pkg-config