nixpkgs/pkgs/tools/system/which/default.nix
2021-07-27 16:57:58 +02:00

19 lines
447 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "which";
version = "2.21";
src = fetchurl {
url = "mirror://gnu/which/which-${version}.tar.gz";
sha256 = "1bgafvy3ypbhhfznwjv1lxmd6mci3x1byilnnkc7gcr486wlb8pl";
};
meta = with lib; {
homepage = "https://www.gnu.org/software/which/";
description = "Shows the full path of (shell) commands";
platforms = platforms.all;
license = licenses.gpl3;
};
}