1{ pythonOlder 2, buildPythonPackage 3, fetchPypi 4, lib 5, kicad 6, versioneer 7}: 8buildPythonPackage rec { 9 pname = "pcbnewTransition"; 10 version = "0.3.4"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-3CJUG1kd63Lg0r9HpJRIvttHS5s2EuZRoxeXrqsJ/kQ="; 18 }; 19 20 propagatedBuildInputs = [ 21 kicad 22 ]; 23 24 nativeBuildInputs = [ 25 versioneer 26 ]; 27 28 pythonImportsCheck = [ 29 "pcbnewTransition" 30 ]; 31 32 meta = with lib; { 33 description = "Library that allows you to support both, KiCad 5, 6 and 7 in your plugins"; 34 homepage = "https://github.com/yaqwsx/pcbnewTransition"; 35 changelog = "https://github.com/yaqwsx/pcbnewTransition/releases/tag/v${version}"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ jfly matusf ]; 38 }; 39}