diff options
Diffstat (limited to 'pkgs/os-specific/linux/reptyr/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/reptyr/default.nix | 17 |
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 000000000000..573f1a578c72 --- /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''; + }; +} |