mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
187878d0f1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/acpica-tools/versions. These checks were done: - built on NixOS - /nix/store/x1sw7fxqaqayhy9hyvh57xc2zjg5d4yw-acpica-tools-20180531/bin/acpibin passed the binary check. - /nix/store/x1sw7fxqaqayhy9hyvh57xc2zjg5d4yw-acpica-tools-20180531/bin/acpidump passed the binary check. - /nix/store/x1sw7fxqaqayhy9hyvh57xc2zjg5d4yw-acpica-tools-20180531/bin/acpiexec passed the binary check. - /nix/store/x1sw7fxqaqayhy9hyvh57xc2zjg5d4yw-acpica-tools-20180531/bin/acpihelp passed the binary check. - /nix/store/x1sw7fxqaqayhy9hyvh57xc2zjg5d4yw-acpica-tools-20180531/bin/acpinames passed the binary check. - /nix/store/x1sw7fxqaqayhy9hyvh57xc2zjg5d4yw-acpica-tools-20180531/bin/acpixtract passed the binary check. - 6 of 6 passed binary check by having a zero exit code. - 0 of 6 passed binary check by having the new version present in output. - directory tree listing: https://gist.github.com/0bdfbe66fba66901dbdc08214997cf2d - du listing: https://gist.github.com/28d13e951134d3565b807bef5d9610ec
37 lines
795 B
Nix
37 lines
795 B
Nix
{ stdenv, fetchurl, bison, flex }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "acpica-tools-${version}";
|
|
version = "20180531";
|
|
|
|
src = fetchurl {
|
|
url = "https://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz";
|
|
sha256 = "0rbn0anxs6r1ks1lgaxqhiv2kqgh4f1fq5qi2kdv7hir82mdqv4g";
|
|
};
|
|
|
|
NIX_CFLAGS_COMPILE = "-O3";
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
buildFlags = [
|
|
"acpibin"
|
|
"acpidump"
|
|
"acpiexec"
|
|
"acpihelp"
|
|
"acpinames"
|
|
"acpixtract"
|
|
];
|
|
|
|
nativeBuildInputs = [ bison flex ];
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "ACPICA Tools";
|
|
homepage = "https://www.acpica.org/";
|
|
license = with licenses; [ gpl2 bsd3 ];
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ tadfisher ];
|
|
};
|
|
}
|