anchor.diff: -{ lib, stdenv, fetchurl, pkg-config, guile, ncurses, libffi }:
  +{ lib
  +, stdenv
  +, fetchurl
  +, pkg-config
  +, guile
  +, libffi
  +, ncurses
  +}:
   
  -let
  -  name = "guile-ncurses-${version}";
  +stdenv.mkDerivation rec {
  +  pname = "guile-ncurses";
     version = "1.7";
  -in stdenv.mkDerivation {
  -  inherit name;
   
     src = fetchurl {
  -    url = "mirror://gnu/guile-ncurses/${name}.tar.gz";
  -    sha256 = "153vv75gb7l62sp3666rc97i63rnaqbx2rjar7d9b5w81fhwv4r5";
  +    url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
  +    hash = "sha256-JZPNoQuIl5XayUpm0RdWNg8TT2LZGDOuFoae9crZe5Q=";
     };
   
  -  nativeBuildInputs = [ pkg-config ];
  -  buildInputs = [ guile ncurses libffi ];
  +  nativeBuildInputs = [
  +    pkg-config
  +  ];
  +  buildInputs = [
  +    guile
  +    libffi
  +    ncurses
  +  ];
   
     preConfigure = ''
       configureFlags="$configureFlags --with-guilesitedir=$out/share/guile/site"
  
positive.code:   doCheck = false;
  
    meta = with lib; {
      description = "Scheme interface to the NCurses libraries";
      longDescription = ''
        GNU Guile-Ncurses is a library for the Guile Scheme interpreter that
  
negative.code:       interface functionality is built on the ncurses libraries: curses, form,
        panel, and menu.
      '';
      license = licenses.lgpl3Plus;
      maintainers = with maintainers; [ vyp ];
      platforms = platforms.gnu ++ platforms.linux;
  