mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 20:21:14 +00:00
Merge pull request #158884 from dotlambda/esphome-callPackage
This commit is contained in:
commit
df7931b1e0
|
@ -1,8 +1,9 @@
|
|||
{ lib
|
||||
, python3
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
with python3.pkgs; buildPythonPackage rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "esphome-dashboard";
|
||||
version = "20220116.0";
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ lib
|
||||
, pkgs
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
|
@ -11,7 +10,7 @@
|
|||
let
|
||||
python = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
esphome-dashboard = pkgs.callPackage ./dashboard.nix {};
|
||||
esphome-dashboard = self.callPackage ./dashboard.nix {};
|
||||
};
|
||||
};
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue