notion: 4.0.3 -> 4.0.4 (#409724)

authored by Arnout Engelen and committed by GitHub 7bc0488e f66ede7f

+2 -12
+2 -12
pkgs/by-name/no/notion/package.nix
··· 21 }: 22 stdenv.mkDerivation (finalAttrs: { 23 pname = "notion"; 24 - version = "4.0.3"; 25 26 src = fetchFromGitHub { 27 owner = "raboof"; 28 repo = "notion"; 29 tag = finalAttrs.version; 30 - hash = "sha256-Ll4thDS8fHxkm2IuGjePPVPyPPrz7yDzpKVloFuk/yE="; 31 }; 32 - 33 - postPatch = '' 34 - # Fix build failure due missing headers 35 - sed -i '1i#define _POSIX_C_SOURCE 200809L' mod_notionflux/notionflux/notionflux.c 36 - sed -i '2i#include <stdio.h>' mod_notionflux/notionflux/notionflux.c 37 - sed -i '3i#include <string.h>' mod_notionflux/notionflux/notionflux.c 38 - 39 - # error: 'PATH_MAX' undeclared 40 - sed 1i'#include <linux/limits.h>' -i mod_notionflux/notionflux/notionflux.c 41 - ''; 42 43 nativeBuildInputs = [ 44 gettext
··· 21 }: 22 stdenv.mkDerivation (finalAttrs: { 23 pname = "notion"; 24 + version = "4.0.4"; 25 26 src = fetchFromGitHub { 27 owner = "raboof"; 28 repo = "notion"; 29 tag = finalAttrs.version; 30 + hash = "sha256-L7WL8zn1Qkf5sqrhqZJqFe4B1l9ULXI3pt3Jpc87huk="; 31 }; 32 33 nativeBuildInputs = [ 34 gettext