2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-09-26 12:46:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mingetty";
|
|
|
|
version = "1.08";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-09-26 12:46:18 +00:00
|
|
|
url = "mirror://sourceforge/mingetty/mingetty-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "05yxrp44ky2kg6qknk1ih0kvwkgbn9fbz77r3vci7agslh5wjm8g";
|
|
|
|
};
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/sbin $out/share/man/man8
|
|
|
|
makeFlagsArray=(SBINDIR=$out/sbin MANDIR=$out/share/man/man8)
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://sourceforge.net/projects/mingetty";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|