2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2009-02-03 17:32:56 +01:00
|
|
|
|
2015-03-26 06:42:36 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2021-07-27 16:46:40 +02:00
|
|
|
pname = "which";
|
|
|
|
version = "2.21";
|
2016-02-22 19:32:53 +01:00
|
|
|
|
2003-12-23 21:51:58 +01:00
|
|
|
src = fetchurl {
|
2021-07-27 16:46:40 +02:00
|
|
|
url = "mirror://gnu/which/which-${version}.tar.gz";
|
2015-03-26 06:42:36 +01:00
|
|
|
sha256 = "1bgafvy3ypbhhfznwjv1lxmd6mci3x1byilnnkc7gcr486wlb8pl";
|
2003-12-23 21:51:58 +01:00
|
|
|
};
|
2008-01-20 19:23:55 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.gnu.org/software/which/";
|
2019-10-06 06:59:27 +02:00
|
|
|
description = "Shows the full path of (shell) commands";
|
2015-03-26 06:42:36 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.gpl3;
|
2009-02-03 17:32:56 +01:00
|
|
|
};
|
|
|
|
}
|