Merge pull request #110363 from fabaff/vsure

This commit is contained in:
Sandro 2021-01-21 18:05:06 +01:00 committed by GitHub
commit 4825212f16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "vsure";
version = "1.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "1lsr0wl1dwbzpn68ww348yk6v42bw89nrghz5gjsimrr428zw6qn";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "verisure" ];
meta = with lib; {
description = "Python library for working with verisure devices";
homepage = "https://github.com/persandstrom/python-verisure";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -895,7 +895,7 @@
"velux" = ps: with ps; [ pyvlx ];
"venstar" = ps: with ps; [ ]; # missing inputs: venstarcolortouch
"vera" = ps: with ps; [ pyvera ];
"verisure" = ps: with ps; [ jsonpath ]; # missing inputs: vsure
"verisure" = ps: with ps; [ jsonpath vsure ];
"versasense" = ps: with ps; [ ]; # missing inputs: pyversasense
"version" = ps: with ps; [ pyhaversion ];
"vesync" = ps: with ps; [ ]; # missing inputs: pyvesync

View File

@ -8042,6 +8042,8 @@ in {
vsts-cd-manager = callPackage ../development/python-modules/vsts-cd-manager { };
vsure = callPackage ../development/python-modules/vsure { };
vtk = self.vtk_7;
vtk_7 = toPythonModule (pkgs.vtk_7.override {
pythonInterpreter = python;