lh2ctrl: init package

This commit is contained in:
2024-02-24 20:58:06 +01:00
parent 9e38ba26c7
commit d6f0de8b52
2 changed files with 22 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
{ stdenv, python3, fetchFromGitHub}:
stdenv.mkDerivation
rec {
pname = "lh2ctrl";
version = "1.1.0";
propagatedBuildInputs = [
(python3.withPackages (pythonPackages: with pythonPackages; [
bluepy
]))
];
src = fetchFromGitHub {
owner = "risa2000";
repo = "lh2ctrl";
rev = "v${version}";
sha256 = "sha256-+I4NdxWbJtuEkRq4ZYuQSrSDzyzO2Rml+QJ1xthw4RE=";
};
installPhase = "install -Dm755 ${src + "/pylh2ctrl/lh2ctrl.py"} $out/bin/lh2ctrl";
}
+1
View File
@@ -29,5 +29,6 @@ rec {
libcef = callPackage ./libs/libcef.nix {}; libcef = callPackage ./libs/libcef.nix {};
lh2ctrl = callPackage ./apps/lh2ctrl.nix {};
} }