xxHash: 0.8.1 -> 0.8.2
Changes: https://github.com/Cyan4973/xxHash/releases/tag/v0.8.2
This commit is contained in:
parent
135dfbcd9d
commit
fda4366ba5
|
@ -2,39 +2,19 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cmake
|
, cmake
|
||||||
, fetchpatch
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "xxHash";
|
pname = "xxHash";
|
||||||
version = "0.8.1";
|
version = "0.8.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Cyan4973";
|
owner = "Cyan4973";
|
||||||
repo = "xxHash";
|
repo = "xxHash";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-2WoYCO6QRHWrbGP2mK04/sLNTyQLOuL3urVktilAwMA=";
|
hash = "sha256-kofPs01jb189LUjYHHt+KxDifZQWl0Hm779711mvWtI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# CMake build fixes
|
|
||||||
patches = [
|
|
||||||
# Merged in https://github.com/Cyan4973/xxHash/pull/649
|
|
||||||
# Should be present in next release
|
|
||||||
(fetchpatch {
|
|
||||||
name = "cmake-install-fix";
|
|
||||||
url = "https://github.com/Cyan4973/xxHash/commit/636f966ecc713c84ddd3b7ccfde2bfb2cc7492a0.patch";
|
|
||||||
sha256 = "sha256-B1PZ/0BXlOrSiPvgCPLvI/sjQvnR0n5PQHOO38LOij0=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# Submitted at https://github.com/Cyan4973/xxHash/pull/723
|
|
||||||
(fetchpatch {
|
|
||||||
name = "cmake-pkgconfig-fix";
|
|
||||||
url = "https://github.com/Cyan4973/xxHash/commit/5db353bbd05ee5eb1f90afc08d10da9416154e55.patch";
|
|
||||||
sha256 = "sha256-dElgSu9DVo2hY6TTVHLTtt0zkXmQV3nc9i/KbrDkK8s=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue