lol

python310Packages.aladdin-connect: add changelog to meta

- disable on unsupported Python releases

+10 -3
+10 -3
pkgs/development/python-modules/aladdin-connect/default.nix
··· 2 2 , requests 3 3 , buildPythonPackage 4 4 , fetchFromGitHub 5 + , pythonOlder 5 6 }: 6 7 7 8 buildPythonPackage rec { 8 9 pname = "aladdin-connect"; 9 10 version = "0.4"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 10 14 11 15 src = fetchFromGitHub { 12 16 owner = "shoejosh"; 13 17 repo = pname; 14 - rev = version; 15 - sha256 = "sha256-kLvMpSGa5WyDOH3ejAJyFGsB9IiMXp+nvVxM/ZkxyFw="; 18 + rev = "refs/tags/${version}"; 19 + hash = "sha256-kLvMpSGa5WyDOH3ejAJyFGsB9IiMXp+nvVxM/ZkxyFw="; 16 20 }; 17 21 18 22 propagatedBuildInputs = [ ··· 22 26 # Project has no tests 23 27 doCheck = false; 24 28 25 - pythonImportsCheck = [ "aladdin_connect" ]; 29 + pythonImportsCheck = [ 30 + "aladdin_connect" 31 + ]; 26 32 27 33 meta = with lib; { 28 34 description = "Python library for interacting with Genie Aladdin Connect devices"; 29 35 homepage = "https://github.com/shoejosh/aladdin-connect"; 36 + changelog = "https://github.com/shoejosh/aladdin-connect/releases/tag/${version}"; 30 37 license = with licenses; [ mit ]; 31 38 maintainers = with maintainers; [ fab ]; 32 39 };