depot/third_party/nixpkgs/pkgs/development/tools/misc/libwhich/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

24 lines
554 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "libwhich";
version = "1.2.0";
src = fetchFromGitHub {
owner = "vtjnash";
repo = pname;
rev = "v${version}";
sha256 = "sha256-JNIWdI12sL3TZqVA3GeH0KbgqFDbMsEdecea3392Goc=";
};
installPhase = ''
install -Dm755 -t $out/bin libwhich
'';
meta = with lib; {
description = "Like `which`, for dynamic libraries";
homepage = "https://github.com/vtjnash/libwhich";
license = licenses.mit;
maintainers = with maintainers; [ dtzWill ];
};
}