blob: 57e127cc5c2a2d9b33038d94015db07e4646f2a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
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 = {
description = "Module to interact with Cisco Mobility Express APIs to fetch connected devices";
homepage = "https://github.com/fbradyirl/ciscomobilityexpress";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ uvnikita ];
};
}
|