1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6}:
7
8buildPythonPackage rec {
9 pname = "pyflic";
10 version = "2.0.3";
11 format = "setuptools";
12 disabled = pythonOlder "3.7";
13
14 src = fetchFromGitHub {
15 owner = "soldag";
16 repo = pname;
17 rev = version;
18 sha256 = "0adf4k191138jmbsfhkhhbgaxcq97d1hr5w48ryxr1fig64sjqy2";
19 };
20
21 # Projec thas no tests
22 doCheck = false;
23
24 pythonImportsCheck = [ "pyflic" ];
25
26 meta = with lib; {
27 description = "Python module to interact with Flic buttons";
28 homepage = "https://github.com/soldag/pyflic";
29 license = with licenses; [ cc0 ];
30 maintainers = with maintainers; [ fab ];
31 };
32}