Skip to content

Commit

Permalink
tracelinks: init at 1.0.1
Browse files Browse the repository at this point in the history
Co-authored-by: nayeko <[email protected]>
  • Loading branch information
limeytexan and nayeko committed Feb 19, 2025
1 parent 9e4d519 commit 96479fa
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pkgs/by-name/tr/tracelinks/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
fetchFromGitHub,
help2man,
lib,
nix-update-script,
stdenv,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "tracelinks";
version = "1.0.1";

src = fetchFromGitHub {
owner = "flox";
repo = "tracelinks";
tag = "v${finalAttrs.version}";
hash = "sha256-GftF2s2eRrkfzw2NpzTZ6Uhehcg2tMSOcsjHJssQJzU=";
};

makeFlags = [
"PREFIX=$(out)"
"VERSION=${finalAttrs.version}"
];
nativeBuildInputs = [ help2man ];
doCheck = true;

passthru.updateScript = nix-update-script { };

meta = {
description = "Report on symbolic links encountered in path traversals";
homepage = "https://github.com/flox/tracelinks";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ limeytexan ];
platforms = lib.platforms.unix;
};
})

0 comments on commit 96479fa

Please sign in to comment.