anchor.diff:      wrapGAppsHook
       vala
       cmake
  -    gettext
  +    ninja
  +    gobjectIntrospection # for setup-hook
     ];
     buildInputs = [
       libqalculate
  
positive.code: { stdenv
  , bash
  , gnused
  , fetchFromGitHub
  , gettext
  , pkgconfig
  , gtk3
  , granite
  
negative.code: , ninja
  , vala
  , libqalculate
  , gobjectIntrospection
  , wrapGAppsHook }:
  
  stdenv.mkDerivation rec {
    name = "nasc-${version}";
    version = "0.4.7";
  
    src = fetchFromGitHub {
      owner = "parnold-x";
      repo = "nasc";
      rev = version;
      sha256 = "0p74953pdgsijvqj3msssqiwm6sc1hzp68dlmjamqrqirwgqv5aa";
    };
  
    patches = [
      # Install libqalculatenasc.so
      (fetchpatch {
        url = https://github.com/parnold-x/nasc/commit/93a799f9afb3e32f3f1a54e056b59570aae2e437.patch;
        sha256 = "1m32w2zaswzxnzbr7p3lf8s6fac4mjvfhm8v9k59b4jyzmvrl631";
      })
      (fetchpatch {
        url = https://github.com/parnold-x/nasc/commit/570b49169326de154af2cf43c5f12268fff1dc6d.patch;
        sha256 = "1y3w6rxn0453iscx2xg427wy1bd5kv4z1c41hhbjmg614ycp6bka";
      })
    ];
  
    nativeBuildInputs = [
  