2017-09-25 23:57:48 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2015-08-26 03:03:49 +01:00
|
|
|
|
2017-09-25 23:57:48 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "reattach-to-user-namespace";
|
2020-01-08 10:50:08 +00:00
|
|
|
version = "2.8";
|
2016-12-05 00:36:54 +00:00
|
|
|
|
2017-09-25 23:57:48 +01:00
|
|
|
src = fetchurl {
|
2018-10-12 21:31:43 +01:00
|
|
|
url = "https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard/archive/v${version}.tar.gz";
|
2020-01-08 10:50:08 +00:00
|
|
|
sha256 = "0xxxdd26rcplhpvi2vy6crxadk3d1qkq4xry10lwq6dyya2jf6wb";
|
2015-08-26 03:03:49 +01:00
|
|
|
};
|
2016-12-05 00:36:54 +00:00
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
buildFlags = [ "ARCHES=x86_64" ];
|
2016-12-05 00:36:54 +00:00
|
|
|
|
2015-08-26 03:03:49 +01:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp reattach-to-user-namespace $out/bin/
|
|
|
|
'';
|
|
|
|
|
2017-09-25 23:57:48 +01:00
|
|
|
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;
|
2016-12-05 00:36:54 +00:00
|
|
|
};
|
|
|
|
}
|