{ lib , fetchFromGitHub , buildDotnetPackage , dotnetPackages , gtksharp , gettext }: let mono-addins = dotnetPackages.MonoAddins; in buildDotnetPackage rec { pname = "Pinta"; version = "1.7.1"; outputFiles = [ "bin/*" ]; buildInputs = [ gtksharp mono-addins gettext ]; xBuildFiles = [ "Pinta.sln" ]; src = fetchFromGitHub { owner = "PintaProject"; repo = "Pinta"; rev = version; sha256 = "sha256-yRp/dpJ9T4DieqHTj3vhyuASPGe4vjHw0rSXFrTNZVc="; }; # Remove version information from nodes postPatch = with lib; let csprojFiles = [ "Pinta/Pinta.csproj" "Pinta.Core/Pinta.Core.csproj" "Pinta.Effects/Pinta.Effects.csproj" "Pinta.Gui.Widgets/Pinta.Gui.Widgets.csproj" "Pinta.Resources/Pinta.Resources.csproj" "Pinta.Tools/Pinta.Tools.csproj" ]; versionedNames = [ "Mono\\.Addins" "Mono\\.Posix" "Mono\\.Addins\\.Gui" "Mono\\.Addins\\.Setup" ]; stripVersion = name: file: let match = ''