blob: 51043d18ab47f6ae44ce7bd75d95852f05f3a3ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{
lib,
stdenv,
fetchurl,
directoryListingUpdater,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "which";
version = "2.25";
src = fetchurl {
url = "mirror://gnu/which/which-${finalAttrs.version}.tar.gz";
hash = "sha256-HLg+T3AuYLghGrXsTCr7qxsd7IAglFan0vr3WE7SJeo=";
};
patches = [
./gcc15.patch
];
strictDeps = true;
enableParallelBuilding = true;
passthru.updateScript = directoryListingUpdater {
inherit (finalAttrs) pname version;
url = "https://ftp.gnu.org/gnu/which/";
};
outputs = [
"out"
"info"
"man"
];
__structuredAttrs = true;
meta = {
homepage = "https://www.gnu.org/software/which/";
description = "Shows the full path of (shell) commands";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ mdaniels5757 ];
mainProgram = "which";
platforms = lib.platforms.all;
};
})
|