3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/reptyr/default.nix

36 lines
839 B
Nix
Raw Normal View History

2018-12-05 04:18:09 +00:00
{ stdenv, lib, fetchFromGitHub, python2 }:
stdenv.mkDerivation rec {
2018-12-05 04:18:09 +00:00
version = "0.7.0";
name = "reptyr-${version}";
2018-12-05 04:18:09 +00:00
src = fetchFromGitHub {
owner = "nelhage";
repo = "reptyr";
rev = "reptyr-${version}";
2018-12-05 04:18:09 +00:00
sha256 = "1hnijfz1ab34j2h2cxc3f43rmbclyihgn9x9wxa7jqqgb2xm71hj";
};
2017-02-22 15:54:19 +00:00
2018-12-05 04:18:09 +00:00
makeFlags = [ "PREFIX=" "DESTDIR=$(out)" ];
2017-02-22 15:54:19 +00:00
2018-12-05 04:18:09 +00:00
checkInputs = [ (python2.withPackages (p: [ p.pexpect ])) ];
doCheck = true;
meta = {
platforms = [
"i686-linux"
"x86_64-linux"
"i686-freebsd"
"x86_64-freebsd"
2018-12-05 04:18:09 +00:00
"armv5tel-linux"
"armv6l-linux"
"armv7l-linux"
"aarch64-linux"
];
maintainers = with lib.maintainers; [raskin];
license = lib.licenses.mit;
description = "Reparent a running program to a new terminal";
2018-11-30 16:44:05 +00:00
homepage = https://github.com/nelhage/reptyr;
};
}