My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/ciscomobilityexpress/default.nix

34 lines
762 B

{ lib
, buildPythonPackage
, fetchPypi
, requests
, python
}:
buildPythonPackage rec {
pname = "ciscomobilityexpress";
version = "1.0.2";
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 ];
};
}