python3Packages.py-sucks: 0.9.10 -> 0.9.11 (#412982)

authored by

dotlambda and committed by
GitHub
3e410b72 0e4118f6

+11 -6
+11 -6
pkgs/development/python-modules/py-sucks/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "py-sucks"; 17 - version = "0.9.10"; 17 + version = "0.9.11"; 18 18 pyproject = true; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "mib1185"; 22 22 repo = "py-sucks"; 23 23 tag = "v${version}"; 24 - hash = "sha256-MjlE5HdxChAgV/O7cD3foqkmKie7FgRRxvOcW+NAtfA="; 24 + hash = "sha256-srj/3x04R9KgbdC6IgbQdgUz+srAx0OttB6Ndb2+Nh4="; 25 25 }; 26 26 27 27 build-system = [ setuptools ]; 28 28 29 29 dependencies = [ 30 - click 31 - pycountry-convert 32 30 pycryptodome 33 31 requests 34 32 sleekxmppfs 35 33 ]; 36 34 35 + optional-dependencies = { 36 + cli = [ 37 + click 38 + pycountry-convert 39 + ]; 40 + }; 41 + 37 42 pythonImportsCheck = [ "sucks" ]; 38 43 39 44 nativeCheckInputs = [ 40 45 requests-mock 41 46 pytestCheckHook 42 - ]; 47 + ] ++ lib.flatten (lib.attrValues optional-dependencies); 43 48 44 49 disabledTests = [ 45 50 # assumes $HOME is at a specific place ··· 47 52 ]; 48 53 49 54 meta = { 50 - changelog = "https://github.com/mib1185/py-sucks/releases/tag/v${version}"; 55 + changelog = "https://github.com/mib1185/py-sucks/releases/tag/${src.tag}"; 51 56 description = "Library for controlling certain robot vacuums"; 52 57 homepage = "https://github.com/mib1185/py-sucks"; 53 58 license = lib.licenses.gpl3Only;