1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5}: 6 7buildPythonPackage rec { 8 pname = "kconfiglib"; 9 version = "14.1.0"; 10 format = "setuptools"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "0g690bk789hsry34y4ahvly5c8w8imca90ss4njfqf7m2qicrlmy"; 15 }; 16 17 patches = [ 18 # see https://github.com/ulfalizer/Kconfiglib/pull/119 19 ./0001-Add-rudimentary-support-for-modules-property.patch 20 ]; 21 22 # doesnt work out of the box but might be possible 23 doCheck = false; 24 25 meta = with lib; { 26 description = "Flexible Python 2/3 Kconfig implementation and library"; 27 homepage = "https://github.com/ulfalizer/Kconfiglib"; 28 license = licenses.isc; 29 maintainers = with maintainers; [ teto ]; 30 }; 31}