Commit 7bf13dc2 authored by Stanisław Pitucha's avatar Stanisław Pitucha Committed by Alyssa Ross
Browse files

libcpuid: 0.6.3 -> 0.6.4

parent 1fd1f227
Loading
Loading
Loading
Loading
+2 −12
Original line number Diff line number Diff line
@@ -2,25 +2,15 @@

stdenv.mkDerivation rec {
  pname = "libcpuid";
  version = "0.6.3";
  version = "0.6.4";

  src = fetchFromGitHub {
    owner = "anrieff";
    repo = "libcpuid";
    rev = "v${version}";
    sha256 = "sha256-lhoHqdS5tke462guORg+PURjVmjAgviT5KJHp6PyvUA=";
    sha256 = "sha256-Zs5GKvSasdfLqo8oErDQNAuXRG27Bm9vNwyooqbol0Q=";
  };

  patches = [
    # Fixes cross-compilation to NetBSD
    # https://github.com/anrieff/libcpuid/pull/190
    (fetchpatch {
      name = "pass-pthread-to-linker.patch";
      url = "https://github.com/anrieff/libcpuid/commit/c28436e7239f28dab0e2a3bcdbce95f41e1363b1.patch";
      sha256 = "sha256-J2mB010JcE4si0rERjcrL9kJgbWHKaQCIZPDkmRvcq4=";
    })
  ];

  nativeBuildInputs = [ autoreconfHook ];

  meta = with lib; {