nixpkgs-suyu/pkgs/os-specific/linux/mingetty/default.nix

22 lines
517 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "mingetty-1.08";
src = fetchurl {
url = mirror://sourceforge/mingetty/mingetty-1.08.tar.gz;
sha256 = "05yxrp44ky2kg6qknk1ih0kvwkgbn9fbz77r3vci7agslh5wjm8g";
};
preInstall = ''
mkdir -p $out/sbin $out/share/man/man8
makeFlagsArray=(SBINDIR=$out/sbin MANDIR=$out/share/man/man8)
'';
2018-08-17 23:39:26 +02:00
meta = with stdenv.lib; {
homepage = https://sourceforge.net/projects/mingetty;
2018-08-17 23:39:26 +02:00
license = licenses.gpl2;
platforms = platforms.linux;
};
}