depot/third_party/nixpkgs/pkgs/tools/misc/veikk-linux-driver-gui/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

32 lines
743 B
Nix

{ lib, mkDerivation, fetchFromGitHub, gnumake, qmake }:
mkDerivation rec {
name = "veikk-linux-driver-gui";
version = "2.0";
src = fetchFromGitHub {
owner = "jlam55555";
repo = name;
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/";
license = licenses.gpl2Only;
platforms = platforms.linux;
maintainers = with maintainers; [ nicbk ];
};
}