depot/third_party/nixpkgs/pkgs/development/python-modules/ciscomobilityexpress/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

34 lines
788 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
requests,
python,
}:
buildPythonPackage rec {
pname = "ciscomobilityexpress";
version = "1.0.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "d8787245598e8371a83baa4db1df949d8a942c43f13454fa26ee3b09c3ccafc0";
};
propagatedBuildInputs = [ requests ];
# tests directory is set up, but has no tests
checkPhase = ''
${python.interpreter} -m unittest
'';
pythonImportsCheck = [ "ciscomobilityexpress" ];
meta = with lib; {
description = "Module to interact with Cisco Mobility Express APIs to fetch connected devices";
homepage = "https://github.com/fbradyirl/ciscomobilityexpress";
license = licenses.mit;
maintainers = with maintainers; [ uvnikita ];
};
}