Merge pull request #51552 from lopsided98/reptyr-update
reptyr: 0.6.2 -> 0.7.0
This commit is contained in:
commit
be1d5e83c7
|
@ -1,31 +1,32 @@
|
||||||
{ stdenv, lib, fetchFromGitHub }:
|
{ stdenv, lib, fetchFromGitHub, python2 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.6.2";
|
version = "0.7.0";
|
||||||
name = "reptyr-${version}";
|
name = "reptyr-${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nelhage";
|
owner = "nelhage";
|
||||||
repo = "reptyr";
|
repo = "reptyr";
|
||||||
rev = "reptyr-${version}";
|
rev = "reptyr-${version}";
|
||||||
sha256 = "0yfy1p0mz05xg5gzp52vilfz0yl1sjjsvwn0z073mnr4wyam7fg8";
|
sha256 = "1hnijfz1ab34j2h2cxc3f43rmbclyihgn9x9wxa7jqqgb2xm71hj";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Avoid a glibc >= 2.25 deprecation warning that gets fatal via -Werror.
|
makeFlags = [ "PREFIX=" "DESTDIR=$(out)" ];
|
||||||
postPatch = ''
|
|
||||||
sed 1i'#include <sys/sysmacros.h>' -i platform/linux/linux.c
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Needed with GCC 7
|
checkInputs = [ (python2.withPackages (p: [ p.pexpect ])) ];
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-error=format-truncation";
|
doCheck = true;
|
||||||
|
|
||||||
makeFlags = ["PREFIX=$(out)"];
|
|
||||||
meta = {
|
meta = {
|
||||||
platforms = [
|
platforms = [
|
||||||
"i686-linux"
|
"i686-linux"
|
||||||
"x86_64-linux"
|
"x86_64-linux"
|
||||||
"i686-freebsd"
|
"i686-freebsd"
|
||||||
"x86_64-freebsd"
|
"x86_64-freebsd"
|
||||||
] ++ lib.platforms.arm;
|
"armv5tel-linux"
|
||||||
|
"armv6l-linux"
|
||||||
|
"armv7l-linux"
|
||||||
|
"aarch64-linux"
|
||||||
|
];
|
||||||
maintainers = with lib.maintainers; [raskin];
|
maintainers = with lib.maintainers; [raskin];
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
description = "Reparent a running program to a new terminal";
|
description = "Reparent a running program to a new terminal";
|
||||||
|
|
Loading…
Reference in New Issue