nixpkgs/pkgs/os-specific/darwin/reattach-to-user-namespace/default.nix
2020-11-17 10:43:43 -08:00

28 lines
668 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "reattach-to-user-namespace";
version = "2.9";
src = fetchFromGitHub {
owner = "ChrisJohnsen";
repo = "tmux-MacOSX-pasteboard";
rev = "v${version}";
sha256 = "1qgimh58hcx5f646gj2kpd36ayvrdkw616ad8cb3lcm11kg0ag79";
};
buildFlags = [ "ARCHES=x86_64" ];
installPhase = ''
mkdir -p $out/bin
cp reattach-to-user-namespace $out/bin/
'';
meta = with stdenv.lib; {
description = "A wrapper that provides access to the Mac OS X pasteboard service";
license = licenses.bsd2;
maintainers = with maintainers; [ lnl7 ];
platforms = platforms.darwin;
};
}