Skip to content
Snippets Groups Projects
Commit e8531f72 authored by Jens Nolte's avatar Jens Nolte
Browse files

Add g810-led package

parent 4b5273e2
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ let
nginx-sso = callPackage ./nginx-sso {};
simpleandsoft = import ./simpleandsoft { inherit pkgs; };
netevent = callPackage ./netevent {};
g810-led = callPackage ./g810-led {};
haskell = pkgs.haskell // {
packageOverrides = self: super: {
......
{stdenv, fetchFromGitHub, hidapi, tree}:
stdenv.mkDerivation {
pname = "g810-led";
version = "0.4.2";
src = fetchFromGitHub {
owner = "MatMoul";
repo = "g810-led";
rev = "5ee810a520f809e65048de8a8ce24bac0ce34490";
sha256 = "1ymkp7i7nc1ig2r19wz0pcxfnpawkjkgq7vrz6801xz428cqwmhl";
};
makeFlags = ["DESTDIR=$(out)" "PREFIX=$(out)"];
buildInputs = [hidapi];
nativeBuildInputs = [tree];
installPhase = ''
mkdir -p $out/bin
cp bin/g810-led $out/bin/
'';
}
{pkgs ? import <nixpkgs> {}}:
pkgs.callPackage ./default.nix {}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment