nixpkgs/pkgs/development/python-modules/vsure/default.nix
2023-03-08 23:41:53 +00:00

37 lines
667 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, click
, requests
}:
buildPythonPackage rec {
pname = "vsure";
version = "2.6.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-D6Q76L1BVx5hpFSShP1rUOmgTogEO+6Jj5x8GaepC+c=";
};
propagatedBuildInputs = [
click
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 ];
};
}