1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 04:48:10 +00:00
nixpkgs/pkgs/development/tools/misc/libwhich/default.nix
2019-03-21 16:26:33 -05:00

25 lines
589 B
Nix

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