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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
965 B
Nix
Raw Normal View History

{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "aiolyric";
version = "1.0.10";
2022-02-25 07:32:15 +00:00
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "timmo001";
repo = pname;
rev = "refs/tags/v${version}";
2022-02-25 07:32:15 +00:00
hash = "sha256-yKeG0UCQ8haT1hvywoIwKQ519GK2wFg0wXaRTFeKYIk=";
};
2022-02-25 07:32:15 +00:00
propagatedBuildInputs = [
aiohttp
];
nativeCheckInputs = [
2022-02-25 07:32:15 +00:00
pytestCheckHook
];
disabledTests = [
# AssertionError, https://github.com/timmo001/aiolyric/issues/5
"test_location"
2022-02-25 07:37:44 +00:00
];
2022-02-25 07:32:15 +00:00
pythonImportsCheck = [
"aiolyric"
];
meta = with lib; {
description = "Python module for the Honeywell Lyric Platform";
homepage = "https://github.com/timmo001/aiolyric";
changelog = "https://github.com/timmo001/aiolyric/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}