2021-01-10 23:54:33 -08:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2015-08-25 19:03:49 -07:00
|
|
|
|
2017-09-25 15:57:48 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "reattach-to-user-namespace";
|
2020-11-16 20:32:28 -08:00
|
|
|
version = "2.9";
|
2016-12-04 16:36:54 -08:00
|
|
|
|
2020-11-16 20:32:28 -08:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ChrisJohnsen";
|
|
|
|
repo = "tmux-MacOSX-pasteboard";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1qgimh58hcx5f646gj2kpd36ayvrdkw616ad8cb3lcm11kg0ag79";
|
2015-08-25 19:03:49 -07:00
|
|
|
};
|
2016-12-04 16:36:54 -08:00
|
|
|
|
2019-10-27 06:03:25 -07:00
|
|
|
buildFlags = [ "ARCHES=x86_64" ];
|
2016-12-04 16:36:54 -08:00
|
|
|
|
2015-08-25 19:03:49 -07:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp reattach-to-user-namespace $out/bin/
|
|
|
|
'';
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2017-09-25 15:57:48 -07:00
|
|
|
description = "A wrapper that provides access to the Mac OS X pasteboard service";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ lnl7 ];
|
|
|
|
platforms = platforms.darwin;
|
2016-12-04 16:36:54 -08:00
|
|
|
};
|
|
|
|
}
|