5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
25 lines
558 B
Nix
25 lines
558 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";
|
|
mainProgram = "libwhich";
|
|
homepage = "https://github.com/vtjnash/libwhich";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|