focuswriter: fix build

Changed files
+10
pkgs
applications
editors
focuswriter
+10
pkgs/applications/editors/focuswriter/default.nix
···
lib,
stdenv,
fetchFromGitHub,
+
fetchpatch,
pkg-config,
cmake,
hunspell,
···
rev = "v${version}";
hash = "sha256-oivhrDF3HikbEtS1cOlHwmQYNYf3IkX+gQGW0V55IWU=";
};
+
+
patches = [
+
# Fix build, remove at next version bump
+
# https://github.com/gottcode/focuswriter/pull/208
+
(fetchpatch {
+
url = "https://github.com/gottcode/focuswriter/commit/dd74ed4559a141653a06e7984c1251b992925775.diff";
+
hash = "sha256-1bxa91xnkF1MIQlA8JgwPHW/A80ThbVVdVtusmzd22I=";
+
})
+
];
nativeBuildInputs = [
pkg-config