2017-09-26 00:57:48 +02:00
|
|
|
{ stdenv, fetchurl }:
|
2015-08-26 04:03:49 +02:00
|
|
|
|
2017-09-26 00:57:48 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "reattach-to-user-namespace-${version}";
|
2018-10-12 22:31:43 +02:00
|
|
|
version = "2.7";
|
2016-12-05 01:36:54 +01:00
|
|
|
|
2017-09-26 00:57:48 +02:00
|
|
|
src = fetchurl {
|
2018-10-12 22:31:43 +02:00
|
|
|
url = "https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "00mjyj8yicrpnlm46rlbkvxgl5381l8xawh7rmjk10p3zrm56jbv";
|
2015-08-26 04:03:49 +02:00
|
|
|
};
|
2016-12-05 01:36:54 +01:00
|
|
|
|
2015-08-26 04:03:49 +02:00
|
|
|
buildFlags = "ARCHES=x86_64";
|
2016-12-05 01:36:54 +01:00
|
|
|
|
2015-08-26 04:03:49 +02:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp reattach-to-user-namespace $out/bin/
|
|
|
|
'';
|
|
|
|
|
2017-09-26 00:57:48 +02: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 01:36:54 +01:00
|
|
|
};
|
|
|
|
}
|