nixpkgs/pkgs/development/python-modules/vsure/default.nix

29 lines
613 B
Nix
Raw Normal View History

2021-01-21 16:39:35 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "vsure";
2021-03-31 23:41:08 +01:00
version = "1.8.1";
2021-01-21 16:39:35 +00:00
src = fetchPypi {
inherit pname version;
2021-03-31 23:41:08 +01:00
sha256 = "sha256-Zh83t7yjZU2NjOgCkqPUHbqvEyEWXGITRgr5d2fLtRI=";
2021-01-21 16:39:35 +00: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 ];
};
}