anchor.diff:    meta = with lib; {
       description = "Analyze power consumption on Intel-based laptops";
       homepage = "https://01.org/powertop";
  -    license = licenses.gpl2;
  +    license = licenses.gpl2Only;
       maintainers = with maintainers; [ fpletz ];
       platforms = platforms.linux;
     };
  
positive.code: { lib, stdenv, fetchFromGitHub, fetchpatch, gettext, libnl, ncurses, pciutils
  , pkg-config, zlib, autoreconfHook }:
  
  stdenv.mkDerivation rec {
  
negative.code:   nativeBuildInputs = [ pkg-config autoreconfHook ];
    buildInputs = [ gettext libnl ncurses pciutils zlib ];
  
    NIX_LDFLAGS = [ "-lpthread" ];
  
    postPatch = ''
  