From b810eb9727baa3905afe6cc7f876a7d9b8016e74 Mon Sep 17 00:00:00 2001 From: materus Date: Sun, 25 Feb 2024 18:53:47 +0100 Subject: [PATCH] lh2ctrl: add meta --- pkgs/apps/lh2ctrl.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/apps/lh2ctrl.nix b/pkgs/apps/lh2ctrl.nix index 4c73634..44e0e9c 100644 --- a/pkgs/apps/lh2ctrl.nix +++ b/pkgs/apps/lh2ctrl.nix @@ -1,4 +1,4 @@ -{ stdenv, python3, fetchFromGitHub}: +{ stdenv, python3, fetchFromGitHub, lib}: stdenv.mkDerivation rec { pname = "lh2ctrl"; @@ -18,4 +18,12 @@ stdenv.mkDerivation }; installPhase = "install -Dm755 ${src + "/pylh2ctrl/lh2ctrl.py"} $out/bin/lh2ctrl"; -} \ No newline at end of file + + 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; + }; +} +