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

This commit is contained in:
Weijia Wang
2026-05-01 12:22:11 +00:00
committed by GitHub
2 changed files with 3 additions and 5 deletions
@@ -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
];
};
}
})
-2
View File
@@ -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;