depot/third_party/nixpkgs/pkgs/os-specific/linux/mingetty/default.nix
Default email 8d28093ffb Project import generated by Copybara.
GitOrigin-RevId: 31ffc50c571e6683e9ecc9dbcbd4a8e9914b4497
2021-09-26 14:46:18 +02:00

22 lines
545 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "mingetty";
version = "1.08";
src = fetchurl {
url = "mirror://sourceforge/mingetty/mingetty-${version}.tar.gz";
sha256 = "05yxrp44ky2kg6qknk1ih0kvwkgbn9fbz77r3vci7agslh5wjm8g";
};
preInstall = ''
mkdir -p $out/sbin $out/share/man/man8
makeFlagsArray=(SBINDIR=$out/sbin MANDIR=$out/share/man/man8)
'';
meta = with lib; {
homepage = "https://sourceforge.net/projects/mingetty";
license = licenses.gpl2;
platforms = platforms.linux;
};
}