anchor.diff:  { stdenv
   , fetchpatch
  -, fetchurl
  +, fetchFromGitHub
   , makeWrapper
   
   , dmenu
  
positive.code: , xorg
  }:
  
  let
    inherit (stdenv.lib)
      replaceStrings;
  
    replace = v: replaceStrings ["."] ["_"] v;
  
    version = "2.7.2";
  in
  
  stdenv.mkDerivation rec {
    name = "spectrwm-${version}";
  
    src = fetchurl {
      url = "https://github.com/conformal/spectrwm/archive/"
          + "SPECTRWM_${replace version}.tar.gz";
      sha256 = "23a5b306c5cdfda05eba365b652eca34e87f0b4317c7ff8059813adaa1c55afb";
    };
  
    nativeBuildInputs = [
  
negative.code:     sourceRoot="$sourceRoot/linux"
    '';
  
    postPatch =
      /* Remove legacy scrotwm alias */ ''
        sed -i Makefile \
          -e '/scrotwm/d';
      '';
  
    configurePhase = ":";
  
    preBuild = ''
      makeFlagsArray+=("PREFIX=$out")
    '';
  
  