mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
evcc: 0.117.4 -> 0.118.0
https://github.com/evcc-io/evcc/releases/tag/0.118.0 Use a more approriate charger state.
This commit is contained in:
parent
f34631c8ce
commit
9c1e60ba7d
@ -46,7 +46,7 @@ import ./make-test-python.nix ({ pkgs, lib, ...} :
|
|||||||
type = "custom";
|
type = "custom";
|
||||||
status = {
|
status = {
|
||||||
source = "script";
|
source = "script";
|
||||||
cmd = "/bin/sh -c 'echo charger status F'";
|
cmd = "/bin/sh -c 'echo charger status A'";
|
||||||
};
|
};
|
||||||
enabled = {
|
enabled = {
|
||||||
source = "script";
|
source = "script";
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
, buildGoModule
|
, buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchNpmDeps
|
, fetchNpmDeps
|
||||||
|
, fetchpatch
|
||||||
, cacert
|
, cacert
|
||||||
, go
|
, go
|
||||||
, git
|
, git
|
||||||
@ -16,20 +17,28 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "evcc";
|
pname = "evcc";
|
||||||
version = "0.117.4";
|
version = "0.118.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "evcc-io";
|
owner = "evcc-io";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-Qy2+E1//J6YKr/GAF0DItiyby78vCkfqg1pnvgBGSIQ=";
|
hash = "sha256-LQtFmN4IyDj/SRTik+ML3h1/tMwnTQ13dQHnghcDuUo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-3EHdjRCzrty7BnaSG4TAf52jRl0AVS6baSl2XhYUH0A=";
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
# fix ISO15118 vehicle setup
|
||||||
|
url = "https://github.com/evcc-io/evcc/commit/cc22337b422e4ee541a2c75740c039f2d029bd9b.patch";
|
||||||
|
hash = "sha256-Q+5Klpdv1cWVg716lbKl1JLwkr4LiLPRUoZHemFUQZc=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
vendorHash = "sha256-1YTVFn/DngzSQwYxGHCAaJl4ZnVj4au32YcpNo1m4w8=";
|
||||||
|
|
||||||
npmDeps = fetchNpmDeps {
|
npmDeps = fetchNpmDeps {
|
||||||
inherit src;
|
inherit src;
|
||||||
hash = "sha256-GmNyjXt5eskf59e9dt1OLB4gayBFbk/pG+7dJ5qoO+Q=";
|
hash = "sha256-QRjOmanO+phyqgZb/cAyU0dFKI6T6o84MuObANZoYNE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
Loading…
Reference in New Issue
Block a user