nixpkgs/pkgs/tools/graphics/adriconf/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
851 B
Nix
Raw Normal View History

2021-07-01 14:01:39 +00:00
{ stdenv
, lib
, fetchFromGitLab
, cmake
, pkg-config
, libdrm
, libGL
, atkmm
, pcre
, gtkmm3
2022-01-23 10:03:28 +00:00
, pugixml
2021-07-01 14:01:39 +00:00
, mesa
, pciutils
}:
stdenv.mkDerivation rec {
pname = "adriconf";
2022-01-23 10:03:28 +00:00
version = "2.5.0";
2021-07-01 14:01:39 +00:00
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "mesa";
repo = pname;
rev = "v${version}";
2022-01-23 10:03:28 +00:00
sha256 = "sha256-nxqrs8c1sRruZLwFwK/JfXQPfpEq08Pe2n7ojQkH3SM=";
2021-07-01 14:01:39 +00:00
};
nativeBuildInputs = [ cmake pkg-config ];
2022-01-23 10:03:28 +00:00
buildInputs = [ libdrm libGL atkmm pcre gtkmm3 pugixml mesa pciutils ];
2021-07-01 14:01:39 +00:00
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;
2022-01-27 07:48:49 +00:00
maintainers = with maintainers; [ muscaln ];
2021-07-01 14:01:39 +00:00
platforms = platforms.linux;
};
}