Add OH-addons package
This commit is contained in:
9
openhab-addons.nix
Normal file
9
openhab-addons.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ fetchurl }:
|
||||
|
||||
let
|
||||
version = builtins.readFile ./version;
|
||||
sha256 = builtins.readFile ./openhab-addons.sha256;
|
||||
in fetchurl {
|
||||
url = "https://github.com/openhab/openhab-distro/releases/download/${version}/openhab-addons-${version}.kar";
|
||||
inherit sha256;
|
||||
}
|
||||
Reference in New Issue
Block a user