Skip to content

Commit

Permalink
Merge pull request NixOS#280391 from mweinelt/evcc-0.123.8
Browse files Browse the repository at this point in the history
evcc: 0.123.7 -> 0.123.8
  • Loading branch information
pbsds committed Jan 21, 2024
2 parents fd9870b + 5a02285 commit 0c992b5
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions pkgs/servers/home-automation/evcc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, buildGoModule
, fetchFromGitHub
, fetchNpmDeps
, fetchpatch
, cacert
, go
, git
Expand All @@ -17,24 +16,15 @@

buildGoModule rec {
pname = "evcc";
version = "0.123.7";
version = "0.123.8";

src = fetchFromGitHub {
owner = "evcc-io";
repo = "evcc";
rev = version;
hash = "sha256-I8qcKrCuiUpDdsWDMiEZdo+PBkMELo5V6GW+nKFaD3Y=";
hash = "sha256-AsLprF4Szv91mShE1Ch6qOIkAIwHTw5lWm38DjQGOZM=";
};

patches = [
(fetchpatch {
# https://github.com/evcc-io/evcc/pull/11547
name = "evcc-mockgen.patch";
url = "https://github.com/evcc-io/evcc/commit/5ec02a9dba79a733f71fc02a9552eb01e4e08f0b.patch";
hash = "sha256-uxKdtwdhUcMFCMkG756OD9aSMP9rdOL4Tg0HBWwp3kw=";
})
];

vendorHash = "sha256-FKF6+64mjrKgzFAb+O0QCURieOoRB//QNbpMFMcNG8s=";

npmDeps = fetchNpmDeps {
Expand All @@ -56,8 +46,6 @@ buildGoModule rec {
mockgen
];

inherit patches;

preBuild = ''
make assets
'';
Expand Down

0 comments on commit 0c992b5

Please sign in to comment.