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