diff options
author | legendofmiracles <legendofmiracles@protonmail.com> | 2021-11-04 11:51:24 -0600 |
---|---|---|
committer | legendofmiracles <legendofmiracles@protonmail.com> | 2021-11-04 11:51:24 -0600 |
commit | 23448e8bf2054a4d9b92e4986952214abc1c7804 (patch) | |
tree | 73ee544cb671d6ba063e85f7528de9552cc25cc1 /pkgs/development | |
parent | dca7532635bbd23992276c76a4fad2844c80aa10 (diff) | |
download | nixpkgs-23448e8bf2054a4d9b92e4986952214abc1c7804.tar nixpkgs-23448e8bf2054a4d9b92e4986952214abc1c7804.tar.gz nixpkgs-23448e8bf2054a4d9b92e4986952214abc1c7804.tar.bz2 nixpkgs-23448e8bf2054a4d9b92e4986952214abc1c7804.tar.lz nixpkgs-23448e8bf2054a4d9b92e4986952214abc1c7804.tar.xz nixpkgs-23448e8bf2054a4d9b92e4986952214abc1c7804.tar.zst nixpkgs-23448e8bf2054a4d9b92e4986952214abc1c7804.zip |
eztrace: 1-1-7 -> 1.1-11, fix build, switch to fetchFromGitLab, refactor
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/tools/profiling/EZTrace/default.nix | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/pkgs/development/tools/profiling/EZTrace/default.nix b/pkgs/development/tools/profiling/EZTrace/default.nix index e057fc8ebe1..41b343cdf1c 100644 --- a/pkgs/development/tools/profiling/EZTrace/default.nix +++ b/pkgs/development/tools/profiling/EZTrace/default.nix @@ -1,31 +1,33 @@ -{ lib, stdenv -, fetchurl, autoconf, gfortran -, libelf, libiberty, zlib, libbfd, libopcodes -, buildPackages +{ lib, + stdenv, + fetchFromGitLab, + gfortran, + libelf, + libiberty, + zlib, + libbfd, + libopcodes, + buildPackages, + autoreconfHook }: stdenv.mkDerivation rec { - version = "1.1-7"; pname = "EZTrace"; + version = "1.1-11"; - src = fetchurl { - url = "https://gforge.inria.fr/frs/download.php/file/37155/eztrace-${version}.tar.gz"; - sha256 = "0cr2d4fdv4ljvag55dsz3rpha1jan2gc3jhr06ycyk43450pl58p"; + src = fetchFromGitLab { + owner = "eztrace"; + repo = "eztrace"; + rev = "eztrace-${version}"; + sha256 = "sha256-A6HMr4ib5Ka1lTbbTQOdq3kIdCoN/CwAKRdXdv9wpfU="; }; - # Goes past the rpl_malloc linking failure; fixes silent file breakage - preConfigure = '' - export ac_cv_func_malloc_0_nonnull=yes - substituteInPlace ./configure \ - --replace "/usr/bin/file" "${buildPackages.file}/bin/file" - ''; - - nativeBuildInputs = [ autoconf gfortran ]; + nativeBuildInputs = [ gfortran autoreconfHook ]; buildInputs = [ libelf libiberty zlib libbfd libopcodes ]; - meta = { + meta = with lib; { description = "Tool that aims at generating automatically execution trace from HPC programs"; - license = lib.licenses.cecill-b; - maintainers = with lib.maintainers; [ ]; + license = licenses.cecill-b; + maintainers = with maintainers; [ ]; }; } |