{ lib, stdenv, fetchFromGitHub, buildDotnetPackage, dotnetPackages, gtksharp, gettext }: let mono-addins = dotnetPackages.MonoAddins; in buildDotnetPackage rec { name = "pinta-1.6"; baseName = "Pinta"; version = "1.6"; outputFiles = [ "bin/*" ]; buildInputs = [ gtksharp mono-addins gettext ]; xBuildFiles = [ "Pinta.sln" ]; src = fetchFromGitHub { owner = "PintaProject"; repo = "Pinta"; rev = version; sha256 = "0vgswy981c7ys4q7js5k85sky7bz8v32wsfq3br4j41vg92pw97d"; }; # 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 = ''