vuls: init at 0.27.0 (#348530)
[NixPkgs.git] / pkgs / os-specific / linux / mingetty / default.nix
blobbbae8f73e316a12e1da223074d465f7a1bb06029
1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
4   pname = "mingetty";
5   version = "1.08";
7   src = fetchurl {
8     url = "mirror://sourceforge/mingetty/mingetty-${version}.tar.gz";
9     sha256 = "05yxrp44ky2kg6qknk1ih0kvwkgbn9fbz77r3vci7agslh5wjm8g";
10   };
12   makeFlags = [
13     "CC:=$(CC)"
14     "SBINDIR=${placeholder "out"}/sbin"
15     "MANDIR=${placeholder "out"}/share/man/man8"
16   ];
18   preInstall = ''
19     mkdir -p $out/sbin $out/share/man/man8
20   '';
22   meta = with lib; {
23     homepage = "https://sourceforge.net/projects/mingetty";
24     license = licenses.gpl2Plus;
25     platforms = platforms.linux;
26   };