pkgs/ble-serial: init at 2.8.0
This commit is contained in:
parent
dcc3496f6f
commit
8cd9725f26
@ -328,6 +328,8 @@
|
||||
};
|
||||
openevse =
|
||||
upkgs.python312Packages.callPackage ./pkgs/openevse.nix { inherit upkgs; };
|
||||
ble-serial =
|
||||
upkgs.python312Packages.callPackage ./pkgs/ble-serial.nix { inherit upkgs; };
|
||||
sliding-sync =
|
||||
spkgs.callPackage ./pkgs/sliding-sync.nix { inherit spkgs; };
|
||||
gokrazy = upkgs.callPackage ./pkgs/gokrazy.nix { inherit upkgs; };
|
||||
|
@ -404,6 +404,7 @@ in
|
||||
(callPackage ../../pkgs/gokrazy.nix { })
|
||||
(callPackage ../../pkgs/zutty.nix { })
|
||||
#(python3Packages.callPackage ../../pkgs/watchmap.nix { })
|
||||
(python3Packages.callPackage ../../pkgs/ble-serial.nix { })
|
||||
|
||||
restic
|
||||
];
|
||||
|
31
pkgs/ble-serial.nix
Normal file
31
pkgs/ble-serial.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ buildPythonPackage
|
||||
, setuptools-scm
|
||||
, fetchFromGitHub
|
||||
, pyserial
|
||||
, coloredlogs
|
||||
, bleak
|
||||
, ...
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "ble-serial";
|
||||
version = "2.8.0";
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyserial
|
||||
coloredlogs
|
||||
bleak
|
||||
];
|
||||
|
||||
buildInputs = [ setuptools-scm ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner= "jakeler";
|
||||
repo = "ble-serial";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-KQCnrloBrY7hRt2cFcWiFUg5GgrdbXbcTCNcIuVryZw=";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user