diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-11-21 16:12:21 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-11-21 16:12:48 +0100 |
commit | 048a4cd441a59cbf89defb18bb45c9f0b4429b35 (patch) | |
tree | f8f5850ff05521ab82d65745894714a8796cbfb6 /pkgs/applications/misc/cpu-x/default.nix | |
parent | 030c5028b07afcedce7c5956015c629486cc79d9 (diff) | |
parent | 4c2d05dd6435d449a3651a6dd314d9411b5f8146 (diff) | |
download | nixpkgs-rootfs.tar nixpkgs-rootfs.tar.gz nixpkgs-rootfs.tar.bz2 nixpkgs-rootfs.tar.lz nixpkgs-rootfs.tar.xz nixpkgs-rootfs.tar.zst nixpkgs-rootfs.zip |
Signed-off-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'pkgs/applications/misc/cpu-x/default.nix')
-rw-r--r-- | pkgs/applications/misc/cpu-x/default.nix | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/pkgs/applications/misc/cpu-x/default.nix b/pkgs/applications/misc/cpu-x/default.nix deleted file mode 100644 index d6e3bb28e18..00000000000 --- a/pkgs/applications/misc/cpu-x/default.nix +++ /dev/null @@ -1,53 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, gtk3, ncurses -, libcpuid, pciutils, procps, wrapGAppsHook, nasm, makeWrapper -, opencl-headers, ocl-icd -, vulkan-headers, vulkan-loader, glfw -, libXdmcp, pcre, util-linux -, libselinux, libsepol -, libthai, libdatrie, libxkbcommon, libepoxy -, dbus, at-spi2-core -, libXtst -}: - -# Known issues: -# - The daemon can't be started from the GUI, because pkexec requires a shell -# registered in /etc/shells. The nix's bash is not in there when running -# cpu-x from nixpkgs. - -stdenv.mkDerivation rec { - pname = "cpu-x"; - version = "4.5.3"; - - src = fetchFromGitHub { - owner = "X0rg"; - repo = "CPU-X"; - rev = "v${version}"; - sha256 = "sha256-o48NkOPabfnwsu+nyXJOstW6g0JSUgIrEFx1nNCR7XE="; - }; - - nativeBuildInputs = [ cmake pkg-config wrapGAppsHook nasm makeWrapper ]; - buildInputs = [ - gtk3 ncurses libcpuid pciutils procps - vulkan-headers vulkan-loader glfw - opencl-headers ocl-icd - libXdmcp pcre util-linux - libselinux libsepol - libthai libdatrie libxkbcommon libepoxy - dbus at-spi2-core - libXtst - ]; - - postInstall = '' - wrapProgram $out/bin/cpu-x \ - --prefix PATH : ${lib.makeBinPath [ stdenv.cc ]} \ - --prefix LD_LIBRARY_PATH : ${vulkan-loader}/lib - ''; - - meta = with lib; { - description = "Free software that gathers information on CPU, motherboard and more"; - homepage = "https://thetumultuousunicornofdarkness.github.io/CPU-X"; - license = licenses.gpl3Plus; - platforms = [ "x86_64-linux" ]; - maintainers = with maintainers; [ viraptor ]; - }; -} |