1{ lib, stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 pname = "which";
5 version = "2.21";
6
7 src = fetchurl {
8 url = "mirror://gnu/which/which-${version}.tar.gz";
9 sha256 = "1bgafvy3ypbhhfznwjv1lxmd6mci3x1byilnnkc7gcr486wlb8pl";
10 };
11
12 strictDeps = true;
13 enableParallelBuilding = true;
14
15 meta = with lib; {
16 homepage = "https://www.gnu.org/software/which/";
17 description = "Shows the full path of (shell) commands";
18 platforms = platforms.all;
19 license = licenses.gpl3;
20 };
21}