anchor.diff:      gnome3.libsoup
       gnome3.gtksourceview
     ];
  -
  -  prePatch = ''
  -    substituteInPlace ./libqalculatenasc/libtool \
  -      --replace "/bin/bash" "${bash}/bin/bash" \
  -      --replace "/bin/sed" "${gnused}/bin/sed"
  -    substituteInPlace ./libqalculatenasc/configure.inc \
  -      --replace 'ac_default_path="/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"' 'ac_default_path=$PATH'
  -  '';
   
     meta = with stdenv.lib; {
       description = "Do maths like a normal person";
  
positive.code: , ninja
  , vala
  , libqalculate
  , elementary-cmake-modules
  , wrapGAppsHook }:
  
  stdenv.mkDerivation rec {
    name = "nasc-${version}";
    version = "0.4.6";
  
    src = fetchFromGitHub {
      owner = "parnold-x";
      repo = "nasc";
      rev = version;
      sha256 = "01n4ldj5phrsv97vb04qvs9c1ip6v8wygx9llj704hly1il9fb54";
    };
  
    XDG_DATA_DIRS = stdenv.lib.concatStringsSep ":" [
      "${granite}/share"
      "${gnome3.libgee}/share"
    ];
  
    nativeBuildInputs = [
  
negative.code: { stdenv
  , fetchFromGitHub
  , fetchpatch
  , pkgconfig
  , gtk3
  , granite
  