15 buildPythonPackage rec {
20 disabled = pythonOlder "3.6";
22 src = fetchFromGitHub {
25 rev = "refs/tags/v${version}";
26 hash = "sha256-gPou5KGLFEFP29qSpRg+6sCiXOwfoF1gyhBVERYJ1LI=";
30 substituteInPlace requirements.txt \
31 --replace "pre-commit" ""
39 propagatedBuildInputs = [
48 # tests are not functional yet
52 # pyhiveapi accesses $HOME upon importing
56 pythonImportsCheck = [ "pyhiveapi" ];
59 description = "Python library to interface with the Hive API";
60 homepage = "https://github.com/Pyhass/Pyhiveapi";
61 changelog = "https://github.com/Pyhass/Pyhiveapi/releases/tag/v${version}";
62 license = licenses.mit;
63 maintainers = with maintainers; [ dotlambda ];