2023-07-15 17:15:38 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, qmake }:
|
2021-06-06 07:54:09 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "veikk-linux-driver-gui";
|
2021-06-06 07:54:09 +00:00
|
|
|
version = "2.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jlam55555";
|
2021-12-06 16:07:01 +00:00
|
|
|
repo = pname;
|
2021-06-06 07:54:09 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "02g1q79kwjlzg95w38a1d7nxvcry8xcsvhax2js4c7xqvzhkki5j";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake ];
|
|
|
|
|
|
|
|
postBuild = ''
|
|
|
|
make all clean
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp veikk-linux-driver-gui $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Configuration tool for the VEIKK Linux driver";
|
|
|
|
homepage = "https://github.com/jlam55555/veikk-linux-driver-gui/";
|
2021-06-28 23:13:55 +00:00
|
|
|
license = licenses.gpl2Only;
|
2021-06-06 07:54:09 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ nicbk ];
|
|
|
|
};
|
|
|
|
}
|