···78buildGoModule rec {
9 pname = "grype";
10- version = "0.65.0";
1112 src = fetchFromGitHub {
13 owner = "anchore";
14 repo = pname;
15 rev = "refs/tags/v${version}";
16- hash = "sha256-Dqjdl0fco3t8/jVt9/7pwXzoKapctU3T+ixkKTQ6sAE=";
17 # populate values that require us to use git. By doing this in postFetch we
18 # can delete .git afterwards and maintain better reproducibility of the src.
19 leaveDotGit = true;
···78buildGoModule rec {
9 pname = "grype";
10+ version = "0.65.1";
1112 src = fetchFromGitHub {
13 owner = "anchore";
14 repo = pname;
15 rev = "refs/tags/v${version}";
16+ hash = "sha256-hmjg1W1E1pdrHxPA7qbEJP0R1mEiV0P54+y+RXxKH4c=";
17 # populate values that require us to use git. By doing this in postFetch we
18 # can delete .git afterwards and maintain better reproducibility of the src.
19 leaveDotGit = true;
+4-2
pkgs/tools/security/ssdeep/default.nix
···1314 nativeBuildInputs = [ autoreconfHook ];
1516- # Hack to avoid TMPDIR in RPATHs.
17- preFixup = ''rm -rf "$(pwd)" '';
001819 meta = {
20 description = "A program for calculating fuzzy hashes";
···1314 nativeBuildInputs = [ autoreconfHook ];
1516+ # remove forbidden references to $TMPDIR
17+ preFixup = lib.optionalString stdenv.isLinux ''
18+ patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$out"/bin/*
19+ '';
2021 meta = {
22 description = "A program for calculating fuzzy hashes";
+24-20
pkgs/tools/typesetting/scdoc/default.nix
···1-{ lib, stdenv, fetchFromSourcehut, buildPackages }:
000023-stdenv.mkDerivation rec {
4 pname = "scdoc";
5 version = "1.11.2";
67 src = fetchFromSourcehut {
8 owner = "~sircmpwn";
9- repo = pname;
10- rev = version;
11- sha256 = "07c2vmdgqifbynm19zjnrk7h102pzrriv73izmx8pmd7b3xl5mfq";
12 };
130014 postPatch = ''
15 substituteInPlace Makefile \
16- --replace "-static" "" \
17- --replace "/usr/local" "$out"
18 '';
1920- makeFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
21- "HOST_SCDOC=${buildPackages.scdoc}/bin/scdoc"
0022 ];
2324 doCheck = true;
2526- meta = with lib; {
27- description = "A simple man page generator";
28- longDescription = ''
29- scdoc is a simple man page generator written for POSIX systems written in
30- C99.
31- '';
32 homepage = "https://git.sr.ht/~sircmpwn/scdoc";
33- changelog = "https://git.sr.ht/~sircmpwn/scdoc/refs/${version}";
34- license = licenses.mit;
35- platforms = platforms.unix;
36- maintainers = with maintainers; [ primeos ];
037 };
38-}