anchor.diff:      runHook preInstall
       install -Dt $out/lib libstemmer.a
       install -Dt $out/include include/libstemmer.h
  +    install -Dt $out/bin {snowball,stemwords}
       runHook postInstall
     '';
   
  
positive.code: { lib, stdenv, fetchFromGitHub, perl }:
  
  stdenv.mkDerivation rec {
    pname = "libstemmer";
  
negative.code: 
    prePatch = ''
      patchShebangs .
    '' + lib.optionalString (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
      substituteInPlace GNUmakefile \
        --replace './snowball' '${lib.getBin buildPackages.libstemmer}/bin/snowball'
    '';
  
    makeTarget = "libstemmer.a";
  