anchor.diff:      install -Dm644 {src,$out/share/man/man1}/thinkfan.1
     '';
   
  -  meta = {
  -    license = stdenv.lib.licenses.gpl3;
  -    homepage = https://github.com/vmatare/thinkfan;
  -    maintainers = with stdenv.lib.maintainers; [ domenkozar ];
  -    platforms = stdenv.lib.platforms.linux;
  +  meta = with stdenv.lib; {
  +    license = licenses.gpl3;
  +    homepage = "https://github.com/vmatare/thinkfan";
  +    maintainers = with maintainers; [ domenkozar ];
  +    platforms = platforms.linux;
     };
   }
  
positive.code: { stdenv, fetchFromGitHub, cmakeCurses, libyamlcpp, pkgconfig
  , smartSupport ? false, libatasmart }:
  
  stdenv.mkDerivation rec {
  
negative.code:     sha256 = "107vw0962hrwva3wra9n3hxlbfzg82ldc10qssv3dspja88g8psr";
    };
  
    cmakeFlags = [
      "-DCMAKE_INSTALL_DOCDIR=share/doc/${pname}"
      "-DUSE_NVML=OFF"
    ] ++ stdenv.lib.optional smartSupport "-DUSE_ATASMART=ON";
  
    nativeBuildInputs = [ cmake pkgconfig ];
  
    buildInputs = [ libyamlcpp ] ++ stdenv.lib.optional smartSupport libatasmart;
  
    installPhase = ''
      install -Dm755 {.,$out/bin}/thinkfan
  