mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-24 10:10:37 +03:00

updated hashes and url updated comment regarding version/release_version to make it clearer
14 lines
369 B
Nix
14 lines
369 B
Nix
{ stdenv, version, fetch, cmake, fetchpatch, enableShared ? true }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libunwind";
|
|
inherit version;
|
|
|
|
src = fetch pname "09n66dl9cc17d81qflj5h1l4garmhvzfi2lhcb7rx00l8z65xp09";
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
cmakeFlags = stdenv.lib.optional (!enableShared) "-DLIBUNWIND_ENABLE_SHARED=OFF";
|
|
}
|