mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
27 lines
670 B
Nix
27 lines
670 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
let version = "114"; in
|
|
stdenv.mkDerivation {
|
|
name = "mcelog-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
sha256 = "1blxz5ilrlh2030gxmfqlhcb53qh2bxp5nxyc97m1z8a52idjh0v";
|
|
rev = "v${version}";
|
|
repo = "mcelog";
|
|
owner = "andikleen";
|
|
};
|
|
|
|
makeFlags = "prefix=$(out) etcprefix=$(out) DOCDIR=$(out)/share/doc";
|
|
|
|
preInstall = ''
|
|
mkdir -p $out/share/{doc,man/man{5,8}}
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
inherit version;
|
|
description = "Log machine checks (memory, IO, and CPU hardware errors)";
|
|
homepage = http://mcelog.org/;
|
|
license = with licenses; gpl2;
|
|
maintainers = with maintainers; [ nckx ];
|
|
};
|
|
}
|