at 23.11-beta 1.2 kB view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, importlib-metadata 5, logilab-common 6, pip 7, six 8, pytestCheckHook 9, setuptools 10}: 11 12buildPythonPackage rec { 13 pname = "logilab-constraint"; 14 version = "0.6.2"; 15 format = "setuptools"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-Jk6wvvcDEeHfy7dUcjbnzFIeGBYm5tXzCI26yy+t2qs="; 20 }; 21 22 nativeBuildInputs = [ 23 importlib-metadata 24 pip 25 ]; 26 27 propagatedBuildInputs = [ 28 logilab-common 29 setuptools 30 six 31 ]; 32 33 nativeCheckInputs = [ 34 pytestCheckHook 35 ]; 36 37 preCheck = '' 38 # avoid ModuleNotFoundError: No module named 'logilab.common' due to namespace 39 rm -r logilab 40 ''; 41 42 disabledTests = [ 43 # these tests are abstract test classes intended to be inherited 44 "Abstract" 45 ]; 46 47 pythonImportsCheck = [ "logilab.constraint" ]; 48 49 meta = with lib; { 50 description = "logilab-database provides some classes to make unified access to different"; 51 homepage = "https://forge.extranet.logilab.fr/open-source/logilab-constraint"; 52 changelog = "https://forge.extranet.logilab.fr/open-source/logilab-constraint/-/blob/${version}/CHANGELOG.md"; 53 license = licenses.lgpl21Plus; 54 maintainers = with lib.maintainers; [ ]; 55 }; 56} 57