lh2ctrl: add meta

This commit is contained in:
Mateusz Słodkowicz 2024-02-25 18:53:47 +01:00
parent d6f0de8b52
commit b810eb9727
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
1 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, python3, fetchFromGitHub}: { stdenv, python3, fetchFromGitHub, lib}:
stdenv.mkDerivation stdenv.mkDerivation
rec { rec {
pname = "lh2ctrl"; pname = "lh2ctrl";
@ -18,4 +18,12 @@ stdenv.mkDerivation
}; };
installPhase = "install -Dm755 ${src + "/pylh2ctrl/lh2ctrl.py"} $out/bin/lh2ctrl"; installPhase = "install -Dm755 ${src + "/pylh2ctrl/lh2ctrl.py"} $out/bin/lh2ctrl";
meta = with lib; {
description = "Power management of Valve v2 lighthouses over Bluetooth LE";
homepage = "https://github.com/risa2000/lh2ctrl";
license = licenses.mit;
platforms = platforms.linux;
};
} }