nixos/hass: Use packaged pyirishrail
Fix pyirishrail metadata in the nixpkgs fork, update the mine pin, and remove the local package now supplied by the Home Assistant component.
This commit is contained in:
Generated
+3
-3
@@ -702,11 +702,11 @@
|
||||
},
|
||||
"nixpkgs-mine": {
|
||||
"locked": {
|
||||
"lastModified": 1787523184,
|
||||
"narHash": "sha256-wdRy2OJNSEceZoyDyAXWWw7sroxQZlY/d3FyeOU3QxA=",
|
||||
"lastModified": 1787612836,
|
||||
"narHash": "sha256-25KxhEJHYVZXAwsHQbXpyaG9/WpWGo9EmGe7kzMc25Y=",
|
||||
"owner": "devplayer0",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "9eaacb6680b6f10067acd4b10c61ef4c4d643fb6",
|
||||
"rev": "c92598bc3fd46ff4d23407045091eea206120979",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -165,27 +165,7 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
home-assistant =
|
||||
let
|
||||
pyirishrail = ps: ps.buildPythonPackage rec {
|
||||
pname = "pyirishrail";
|
||||
version = "0.0.2";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "ttroy50";
|
||||
repo = "pyirishrail";
|
||||
tag = version;
|
||||
hash = "sha256-NgARqhcXP0lgGpgBRiNtQaSn9JcRNtCcZPljcL7t3Xc=";
|
||||
};
|
||||
|
||||
dependencies = with ps; [
|
||||
requests
|
||||
];
|
||||
|
||||
pyproject = true;
|
||||
build-system = [ ps.setuptools ];
|
||||
};
|
||||
in
|
||||
{
|
||||
home-assistant = {
|
||||
enable = true;
|
||||
|
||||
extraComponents = [
|
||||
@@ -207,7 +187,6 @@ in
|
||||
isal
|
||||
|
||||
gtts
|
||||
(pyirishrail python3Packages)
|
||||
];
|
||||
customComponents = with pkgs.home-assistant-custom-components; [
|
||||
alarmo
|
||||
|
||||
Reference in New Issue
Block a user