1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 requests,
7}:
8
9buildPythonPackage rec {
10 pname = "eagle100";
11 version = "0.1.1";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-eyYY1x8IjIfUx5OiaOomiWunsO1++seFwXlI/iKDDLw=";
19 };
20
21 propagatedBuildInputs = [ requests ];
22
23 # Project has no tests
24 doCheck = false;
25
26 pythonImportsCheck = [ "eagle100" ];
27
28 meta = with lib; {
29 description = "Python library for interacting with Rainforest EAGLE devices";
30 homepage = "https://github.com/hastarin/eagle100";
31 license = with licenses; [ mit ];
32 maintainers = with maintainers; [ fab ];
33 };
34}