depot/third_party/nixpkgs/pkgs/tools/graphics/adriconf/default.nix
Default email 792b51d22f Project import generated by Copybara.
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
2022-02-20 05:27:41 +00:00

40 lines
850 B
Nix

{ stdenv
, lib
, fetchFromGitLab
, cmake
, pkg-config
, libdrm
, libGL
, atkmm
, pcre
, gtkmm3
, pugixml
, mesa
, pciutils
}:
stdenv.mkDerivation rec {
pname = "adriconf";
version = "2.5.0";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "mesa";
repo = pname;
rev = "v${version}";
sha256 = "sha256-nxqrs8c1sRruZLwFwK/JfXQPfpEq08Pe2n7ojQkH3SM=";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libdrm libGL atkmm pcre gtkmm3 pugixml mesa pciutils ];
cmakeFlags = [ "-DENABLE_UNIT_TESTS=off" ];
meta = with lib; {
homepage = "https://gitlab.freedesktop.org/mesa/adriconf/";
description = "A GUI tool used to configure open source graphics drivers";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ musfay ];
platforms = platforms.linux;
};
}