about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyflic/default.nix
blob: ead4b33929d8d34c87bb3559328dc3d257ff4696 (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:

buildPythonPackage rec {
  pname = "pyflic";
  version = "2.0.3";
  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "soldag";
    repo = pname;
    rev = version;
    sha256 = "0adf4k191138jmbsfhkhhbgaxcq97d1hr5w48ryxr1fig64sjqy2";
  };

  # Projec thas no tests
  doCheck = false;

  pythonImportsCheck = [ "pyflic" ];

  meta = with lib; {
    description = "Python module to interact with Flic buttons";
    homepage = "https://github.com/soldag/pyflic";
    license = with licenses; [ cc0 ];
    maintainers = with maintainers; [ fab ];
  };
}