Commit a148717d authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent 8019631e
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -5,20 +5,28 @@

python3.pkgs.buildPythonApplication rec {
  pname = "ha-mqtt-discoverable-cli";
  version = "0.2.1";
  version = "0.4.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "unixorn";
    repo = "ha-mqtt-discoverable-cli";
    rev = "refs/tags/v${version}";
    hash = "sha256-miFlrBmxVuIJjpsyYnbQt+QAGSrS4sHlJpCmxouM2Wc=";
    hash = "sha256-rGRsB5kAtzI5KP4tMiQqLJQZs7z5k657V8Di0OzB6F8=";
  };

  pythonRelaxDeps = [
    "ha-mqtt-discoverable"
  ];

  build-system = with python3.pkgs; [
    poetry-core
  ];

  nativeBuildInputs = with python3.pkgs; [
    pythonRelaxDepsHook
  ];

  dependencies = with python3.pkgs; [
    ha-mqtt-discoverable
  ];