summary refs log tree commit diff
path: root/pkgs/os-specific/linux/reptyr/default.nix
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2012-10-04 09:17:09 +0400
committerMichael Raskin <7c6f434c@mail.ru>2012-10-04 09:17:09 +0400
commit0013b8faa5a0824212ff1f107a089ed74ee915ad (patch)
tree3a02b30ca0766f7e69dd6736a490d2f7183e2a88 /pkgs/os-specific/linux/reptyr/default.nix
parenta84ad8010ab87d217cb90c87188614e08c69a363 (diff)
downloadnixpkgs-0013b8faa5a0824212ff1f107a089ed74ee915ad.tar
nixpkgs-0013b8faa5a0824212ff1f107a089ed74ee915ad.tar.gz
nixpkgs-0013b8faa5a0824212ff1f107a089ed74ee915ad.tar.bz2
nixpkgs-0013b8faa5a0824212ff1f107a089ed74ee915ad.tar.lz
nixpkgs-0013b8faa5a0824212ff1f107a089ed74ee915ad.tar.xz
nixpkgs-0013b8faa5a0824212ff1f107a089ed74ee915ad.tar.zst
nixpkgs-0013b8faa5a0824212ff1f107a089ed74ee915ad.zip
Add reptyr, tool to change controlling terminal of a process under Linux
Diffstat (limited to 'pkgs/os-specific/linux/reptyr/default.nix')
-rw-r--r--pkgs/os-specific/linux/reptyr/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/reptyr/default.nix b/pkgs/os-specific/linux/reptyr/default.nix
new file mode 100644
index 00000000000..573f1a578c7
--- /dev/null
+++ b/pkgs/os-specific/linux/reptyr/default.nix
@@ -0,0 +1,17 @@
+{stdenv, fetchgit}:
+stdenv.mkDerivation rec {
+  version = "0.4";
+  name = "reptyr-${version}";
+  src = fetchgit {
+    url = "https://github.com/nelhage/reptyr.git";
+    rev = "refs/tags/${name}";
+    sha256 = "2d2814c210e4bde6f9bcf3aa20477287d7e4a5aa7ee09110b37d2eaaf7e5ecae";
+  };
+  makeFlags = ["PREFIX=$(out)"];
+  meta = {
+    platforms = stdenv.lib.platforms.linux;
+    maintainers = with stdenv.lib.maintainers; [raskin];
+    license = stdenv.lib.licenses.mit;
+    description = ''A Linux tool to change controlling pty of a process'';
+  };
+}