anchor.diff:  { stdenv
  -, fetchgit
  +, fetchFromGitHub
   , libtool
   , automake
   , autoconf
  
positive.code: }:
  stdenv.mkDerivation rec {
    name = "libcpuid-${version}";
    version = "0.2.2";
  
    src = fetchgit {
      url = https://github.com/anrieff/libcpuid.git;
      rev = "535ec64dd9d8df4c5a8d34b985280b58a5396fcf";
      sha256 = "1j9pg7fyvqhr859k5yh8ccl9jjx65c7rrsddji83qmqyg0vp1k1a";
    };
  
    patchPhase = ''
      libtoolize
      autoreconf --install
   '';
  
    configurePhase = ''
      mkdir -p Install
  
negative.code: 
      mkdir -p $out
      sed -i -re "s#(prefix=).*Install#\1$out#g" Install/lib/pkgconfig/libcpuid.pc
  
      cp -r Install/* $out
      cp -r tests $out
    '';
  
    nativeBuildInputs = [
      libtool
      automake
      autoconf
  