igprof: 5.9.18 -> 6.0.0
This commit is contained in:
@@ -4,32 +4,25 @@
|
||||
fetchFromGitHub,
|
||||
libunwind,
|
||||
cmake,
|
||||
pcre,
|
||||
pcre2,
|
||||
gdb,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
version = "5.9.18";
|
||||
version = "6.0.0";
|
||||
pname = "igprof";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "igprof";
|
||||
repo = "igprof";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-UTrAaH8C79km78Z/7NxvQ6dnl4u4Ki80nORf4bsoSNw=";
|
||||
hash = "sha256-RIDnilCoYlq0D9CBJKMX1zg1DBQ4RPcOlfGcZ2xosUo=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/igprof \
|
||||
--replace-fail libigprof.so $out/lib/libigprof.so
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "CMAKE_MINIMUM_REQUIRED(VERSION 2.6)" "CMAKE_MINIMUM_REQUIRED(VERSION 3.10)"
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
libunwind
|
||||
gdb
|
||||
pcre
|
||||
pcre2
|
||||
];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -41,7 +34,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
meta = {
|
||||
broken = (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);
|
||||
description = "Ignominous Profiler";
|
||||
|
||||
longDescription = ''
|
||||
|
||||
Reference in New Issue
Block a user