depot/third_party/nixpkgs/pkgs/development/python-modules/iottycloud/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

41 lines
867 B
Nix

{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
hatchling,
lib,
pytestCheckHook,
requests,
}:
buildPythonPackage rec {
pname = "iottycloud";
version = "0.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "pburgio";
repo = "iottyCloud";
rev = "refs/tags/v${version}";
hash = "sha256-EtAAUyVL7FTn0VoGmU5bU9XouMuEQUOx2t6j/wd1OEo=";
};
build-system = [ hatchling ];
dependencies = [ aiohttp ];
pythonImportsCheck = [ "iottycloud" ];
nativeCheckInputs = [
pytestCheckHook
requests
];
meta = {
changelog = "https://github.com/pburgio/iottyCloud/releases/tag/v${version}";
description = "Python library to interact with iotty CloudApi";
homepage = "https://github.com/pburgio/iottyCloud";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ dotlambda ];
};
}