Unverified Commit f2d528b5 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

trace-cmd: migrate to by-name, modernize derivation (#511847)

parents 7fa77193 cdc37f72
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -14,12 +14,12 @@
  sourceHighlight,
  gitUpdater,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "trace-cmd";
  version = "3.4";

  src = fetchzip {
    url = "https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/trace-cmd-v${version}.tar.gz";
    url = "https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/trace-cmd-v${finalAttrs.version}.tar.gz";
    hash = "sha256-7IMInvVLIjGcHZvnSzhcne+4ieFa85ep7KMn2Oy9pF8=";
  };

@@ -107,4 +107,4 @@ stdenv.mkDerivation rec {
      wentasah
    ];
  };
}
})
+0 −2
Original line number Diff line number Diff line
@@ -3383,8 +3383,6 @@ with pkgs;

  ttp = with python3.pkgs; toPythonApplication ttp;

  trace-cmd = callPackage ../os-specific/linux/trace-cmd { };

  translatelocally-models = recurseIntoAttrs (callPackages ../misc/translatelocally-models { });

  translatepy = with python3.pkgs; toPythonApplication translatepy;