summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyflic/default.nix
blob: f95b618c346037a8b829c9100a8486c2c8d84396 (plain)
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,
}:

buildPythonPackage rec {
  pname = "pyflic";
  version = "2.0.4";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "soldag";
    repo = "pyflic";
    rev = version;
    sha256 = "sha256-K1trMBZfc1aHSNSddq0v//Gv8ySgT/ONQYgrKWzw2qs=";
  };

  # Project thas no tests
  doCheck = false;

  pythonImportsCheck = [ "pyflic" ];

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