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