Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #116111 from r-ryantm/auto-update/python3.8-ciscomobilityexpress

authored by Martin Weinelt and committed by GitHub 18dc1cbd c2738e5a

+21 -7
+21 -7
pkgs/development/python-modules/ciscomobilityexpress/default.nix
··· 1 - { buildPythonPackage, fetchPypi, lib, requests }: 2 3 buildPythonPackage rec { 4 pname = "ciscomobilityexpress"; 5 - version = "1.0.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 - sha256 = "fd3fe893d8a44f5ac1d46580af88e07f1066e73744763aca4ef2226f87d575ff"; 10 }; 11 12 propagatedBuildInputs = [ requests ]; 13 14 - meta = { 15 description = "Module to interact with Cisco Mobility Express APIs to fetch connected devices"; 16 - homepage = "https://pypi.python.org/pypi/${pname}/"; 17 - license = lib.licenses.mit; 18 - maintainers = with lib.maintainers; [ uvnikita ]; 19 }; 20 }
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , requests 5 + , python 6 + }: 7 8 buildPythonPackage rec { 9 pname = "ciscomobilityexpress"; 10 + version = "1.0.2"; 11 12 src = fetchPypi { 13 inherit pname version; 14 + sha256 = "d8787245598e8371a83baa4db1df949d8a942c43f13454fa26ee3b09c3ccafc0"; 15 }; 16 17 propagatedBuildInputs = [ requests ]; 18 19 + # tests directory is set up, but has no tests 20 + checkPhase = '' 21 + ${python.interpreter} -m unittest 22 + ''; 23 + 24 + pythonImportsCheck = [ 25 + "ciscomobilityexpress" 26 + ]; 27 + 28 + meta = with lib; { 29 description = "Module to interact with Cisco Mobility Express APIs to fetch connected devices"; 30 + homepage = "https://github.com/fbradyirl/ciscomobilityexpress"; 31 + license = licenses.mit; 32 + maintainers = with maintainers; [ uvnikita ]; 33 }; 34 }