1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6}:
7
8buildPythonPackage rec {
9 pname = "panacotta";
10 version = "0.2";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.8";
14
15 src = fetchFromGitHub {
16 owner = "u1f35c";
17 repo = "python-panacotta";
18 rev = "panacotta-${version}";
19 hash = "sha256-0Ygmj9iRWKvjAuy6j6HjGhl9qJJylfvT5+Uwj44jLgE=";
20 };
21
22 # Project has no tests
23 doCheck = false;
24
25 pythonImportsCheck = [ "panacotta" ];
26
27 meta = with lib; {
28 description = "Python API for controlling Panasonic Blu-Ray players";
29 homepage = "https://github.com/u1f35c/python-panacotta";
30 license = licenses.gpl3Plus;
31 maintainers = with maintainers; [ fab ];
32 };
33}