summary refs log tree commit diff
path: root/pkgs/tools/system/which/default.nix
blob: 3eed6538f33c5448ce76cb3aad746133995aa677 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, stdenv, fetchurl }:

stdenv.mkDerivation rec {
  pname = "which";
  version = "2.21";

  src = fetchurl {
    url = "mirror://gnu/which/which-${version}.tar.gz";
    sha256 = "1bgafvy3ypbhhfznwjv1lxmd6mci3x1byilnnkc7gcr486wlb8pl";
  };

  strictDeps = true;

  meta = with lib; {
    homepage = "https://www.gnu.org/software/which/";
    description = "Shows the full path of (shell) commands";
    platforms = platforms.all;
    license = licenses.gpl3;
  };
}