29 lines
613 B
Nix
Raw Normal View History

2021-01-21 17:39:35 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "vsure";
2021-03-16 08:26:44 +01:00
version = "1.7.3";
2021-01-21 17:39:35 +01:00
src = fetchPypi {
inherit pname version;
2021-03-16 08:26:44 +01:00
sha256 = "sha256-tnUL9krKHqHR79EROsmVflCy9uO1n0iV6evQc/YpxnM=";
2021-01-21 17:39:35 +01:00
};
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 ];
};
}