nixpkgs/pkgs/os-specific/linux/forktty/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
702 B
Nix
Raw Normal View History

2021-12-21 11:12:33 +00:00
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "forktty";
version = "1.3";
src = fetchurl {
2022-03-13 20:26:49 +00:00
url = "mirror://ibiblioPubLinux/utils/terminal/${pname}-${version}.tgz";
hash = "sha256-6xc5eshCuCIOsDh0r2DizKAeypGH0TRRotZ4itsvpVk=";
};
2021-12-21 11:12:33 +00:00
preBuild = ''
sed -e s@/usr/bin/ginstall@install@g -i Makefile
'';
2021-12-21 11:12:33 +00:00
preInstall = ''
mkdir -p "$out/bin"
mkdir -p "$out/share/man/man8"
'';
2021-12-21 11:12:33 +00:00
2019-10-28 09:17:49 +00:00
makeFlags = [ "prefix=$(out)" "manprefix=$(out)/share/" ];
2021-12-21 11:12:33 +00:00
meta = with lib; {
description = "Tool to detach from controlling TTY and attach to another";
2021-12-21 11:12:33 +00:00
license = licenses.gpl2;
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
};
}