1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pythonOlder
5, requests
6}:
7
8buildPythonPackage rec {
9 pname = "ueagle";
10 version = "0.0.2";
11
12 disabled = pythonOlder "3.7";
13
14 src = fetchFromGitHub {
15 owner = "jcalbert";
16 repo = "uEagle";
17 rev = version;
18 sha256 = "1hxwk5alalvmhc31y917dxsnbiwq1xci2krma3235581319xr3w7";
19 };
20
21 propagatedBuildInputs = [
22 requests
23 ];
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}