mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 21:33:07 +00:00
25 lines
554 B
Nix
25 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 ];
|
|
};
|
|
}
|