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