depot/third_party/nixpkgs/pkgs/development/python-modules/eliqonline/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

42 lines
745 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, docopt
, fetchPypi
, pythonOlder
, pyyaml
}:
buildPythonPackage rec {
pname = "eliqonline";
version = "1.2.2";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
sha256 = "hOUN4cA4pKVioIrfJM02GOnZdDRc7xbNtvHfoD3//bM=";
};
propagatedBuildInputs = [
aiohttp
docopt
pyyaml
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"eliqonline"
];
meta = with lib; {
description = "Python client to the Eliq Online API";
mainProgram = "eliqonline";
homepage = "https://github.com/molobrakos/eliqonline";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ fab ];
};
}