nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv
2, lib
3, fetchFromGitLab
4, cmake
5, pkg-config
6, libdrm
7, libGL
8, atkmm
9, pcre
10, gtkmm3
11, pugixml
12, mesa
13, pciutils
14}:
15
16stdenv.mkDerivation rec {
17 pname = "adriconf";
18 version = "2.5.1";
19
20 src = fetchFromGitLab {
21 domain = "gitlab.freedesktop.org";
22 owner = "mesa";
23 repo = pname;
24 rev = "v${version}";
25 sha256 = "sha256-RhHmrjb5TvJnZ6R0aefqdmwMBpu4iTrxSHru7JAwrgs=";
26 };
27
28 nativeBuildInputs = [ cmake pkg-config ];
29 buildInputs = [ libdrm libGL atkmm pcre gtkmm3 pugixml mesa pciutils ];
30
31 cmakeFlags = [ "-DENABLE_UNIT_TESTS=off" ];
32
33 meta = with lib; {
34 homepage = "https://gitlab.freedesktop.org/mesa/adriconf/";
35 description = "A GUI tool used to configure open source graphics drivers";
36 license = licenses.gpl3Plus;
37 maintainers = with maintainers; [ muscaln ];
38 platforms = platforms.linux;
39 };
40}