git.iko.soy/typeable/nixpkgs
on master help sign in
acpica-tools: init at 20180209 (#34883)
commit9b7467eecb87714662fa8c62bf0b111cbbb5f967 authorTad Fisher <tadfisher@gmail.com> dateThu 15 Feb 2018, 12:50 (9 years ago) parent9ce085f
3 files changed+39
lib/maintainers.nix+1 pkgs/tools/system/acpica-tools/default.nix+36 pkgs/top-level/all-packages.nix+2
lib/maintainers.nix+1
@@ -671,6 +671,7 @@
671671 symphorien = "Guillaume Girol <symphorien_nixpkgs@xlumurb.eu>";
672672 szczyp = "Szczyp <qb@szczyp.com>";
673673 sztupi = "Attila Sztupak <attila.sztupak@gmail.com>";
674+ tadfisher = "Tad Fisher <tadfisher@gmail.com>";
674675 taeer = "Taeer Bar-Yam <taeer@necsi.edu>";
675676 tailhook = "Paul Colomiets <paul@colomiets.name>";
676677 taketwo = "Sergey Alexandrov <alexandrov88@gmail.com>";
pkgs/tools/system/acpica-tools/default.nixnew file+36
@@ -0,0 +1,36 @@
1+{ stdenv, fetchurl, bison, flex }:
2+
3+stdenv.mkDerivation rec {
4+ name = "acpica-tools-${version}";
5+ version = "20180209";
6+
7+ src = fetchurl {
8+ url = "https://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz";
9+ sha256 = "1rpdfwa4vwnvyxdp9ygqjckmabc3s8kyg3jyq4n4f0rhr1zl4zy5";
10+ };
11+
12+ NIX_CFLAGS_COMPILE = "-O3";
13+
14+ enableParallelBuilding = true;
15+
16+ buildFlags = [
17+ "acpibin"
18+ "acpidump"
19+ "acpiexec"
20+ "acpihelp"
21+ "acpinames"
22+ "acpixtract"
23+ ];
24+
25+ nativeBuildInputs = [ bison flex ];
26+
27+ installFlags = [ "PREFIX=$(out)" ];
28+
29+ meta = with stdenv.lib; {
30+ description = "ACPICA Tools";
31+ homepage = "https://www.acpica.org/";
32+ license = with licenses; [ gpl2 bsd3 ];
33+ platforms = platforms.linux;
34+ maintainers = with maintainers; [ tadfisher ];
35+ };
36+}
pkgs/top-level/all-packages.nix+2
@@ -407,6 +407,8 @@ with pkgs;
407407 ffmpeg = ffmpeg_1;
408408 };
409409
410+ acpica-tools = callPackage ../tools/system/acpica-tools { };
411+
410412 actdiag = pythonPackages.actdiag;
411413
412414 actkbd = callPackage ../tools/system/actkbd { };