git.iko.soy/typeable/nixpkgs
on master help sign in
mypaint: Fix build
commit1de1469af87df0792a499dbbbafb2ad922271311 authorJan Tojnar <jtojnar@gmail.com> dateWed 6 Apr 2022, 23:21 (5 years ago) parentb6966d9
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