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