3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/misc/libwhich/default.nix

25 lines
557 B
Nix
Raw Normal View History

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