about summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/reattach-to-user-namespace/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/darwin/reattach-to-user-namespace/default.nix')
-rw-r--r--pkgs/os-specific/darwin/reattach-to-user-namespace/default.nix21
1 files changed, 12 insertions, 9 deletions
diff --git a/pkgs/os-specific/darwin/reattach-to-user-namespace/default.nix b/pkgs/os-specific/darwin/reattach-to-user-namespace/default.nix
index e2776475432f..b14008e11f10 100644
--- a/pkgs/os-specific/darwin/reattach-to-user-namespace/default.nix
+++ b/pkgs/os-specific/darwin/reattach-to-user-namespace/default.nix
@@ -1,12 +1,12 @@
-{ stdenv, fetchgit }:
+{ stdenv, fetchurl }:
 
-stdenv.mkDerivation {
-  name = "reattach-to-user-namespace-2.5";
+stdenv.mkDerivation rec {
+  name = "reattach-to-user-namespace-${version}";
+  version = "2.6";
 
-  src = fetchgit {
-    url = "https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard.git";
-    sha256 = "0kv11vi54g6waf9941hy1pwmwyab0y7hbmbkcgwhzb5ja21ysc2a";
-    rev = "3689998acce9990726c8a68a85298ab693a62458";
+  src = fetchurl {
+    url = "https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard/archive/v2.6.tar.gz";
+    sha256 = "1d8ynzkdlxyyky9f88f7z50g9lwdydkpb2n7gkw3jgl2ac569xc0";
   };
 
   buildFlags = "ARCHES=x86_64";
@@ -16,7 +16,10 @@ stdenv.mkDerivation {
     cp reattach-to-user-namespace $out/bin/
   '';
 
-  meta = {
-    platforms = stdenv.lib.platforms.darwin;
+  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;
   };
 }