1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6 requests,
7}:
8
9buildPythonPackage rec {
10 pname = "ueagle";
11 version = "0.0.2";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchFromGitHub {
17 owner = "jcalbert";
18 repo = "uEagle";
19 rev = version;
20 sha256 = "1hxwk5alalvmhc31y917dxsnbiwq1xci2krma3235581319xr3w7";
21 };
22
23 propagatedBuildInputs = [ requests ];
24
25 # Project has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [ "uEagle" ];
29
30 meta = with lib; {
31 description = "Python library Rainforest EAGLE devices";
32 homepage = "https://github.com/jcalbert/uEagle";
33 license = with licenses; [ mit ];
34 maintainers = with maintainers; [ fab ];
35 };
36}