mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
27 lines
610 B
Nix
27 lines
610 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";
|
|
};
|
|
|
|
makeFlags = [
|
|
"CC:=$(CC)"
|
|
"SBINDIR=${placeholder "out"}/sbin"
|
|
"MANDIR=${placeholder "out"}/share/man/man8"
|
|
];
|
|
|
|
preInstall = ''
|
|
mkdir -p $out/sbin $out/share/man/man8
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://sourceforge.net/projects/mingetty";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|