2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2005-06-23 13:54:34 +00:00
|
|
|
|
2021-08-27 14:47:49 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mingetty";
|
|
|
|
version = "1.08";
|
2015-03-20 15:52:02 +00:00
|
|
|
|
2005-06-23 13:54:34 +00:00
|
|
|
src = fetchurl {
|
2021-08-27 14:47:49 +00:00
|
|
|
url = "mirror://sourceforge/mingetty/mingetty-${version}.tar.gz";
|
2009-01-27 14:14:42 +00:00
|
|
|
sha256 = "05yxrp44ky2kg6qknk1ih0kvwkgbn9fbz77r3vci7agslh5wjm8g";
|
|
|
|
};
|
|
|
|
|
|
|
|
preInstall = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/sbin $out/share/man/man8
|
2009-01-27 14:14:42 +00:00
|
|
|
makeFlagsArray=(SBINDIR=$out/sbin MANDIR=$out/share/man/man8)
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://sourceforge.net/projects/mingetty";
|
2018-08-17 21:39:26 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2005-06-23 13:54:34 +00:00
|
|
|
};
|
|
|
|
}
|