1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6}:
7
8buildPythonPackage rec {
9 pname = "oocsi";
10 version = "0.4.3";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.8";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-AgDBsPoi0aQ6uglc7Zl4gxVmeyDCysoef5vZpxgwE/Q=";
18 };
19
20 # Tests are not shipped
21 doCheck = false;
22
23 pythonImportsCheck = [ "oocsi" ];
24
25 meta = with lib; {
26 description = "OOCSI library for Python";
27 homepage = "https://github.com/iddi/oocsi-python";
28 license = with licenses; [ mit ];
29 maintainers = with maintainers; [ fab ];
30 };
31}