2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
pythonOlder,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
lib,
|
|
|
|
kicad,
|
|
|
|
versioneer,
|
2023-11-16 04:20:00 +00:00
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
2024-04-21 15:54:59 +00:00
|
|
|
pname = "pcbnewtransition";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.4.2";
|
2023-11-16 04:20:00 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-04-21 15:54:59 +00:00
|
|
|
pname = "pcbnewTransition";
|
|
|
|
inherit version;
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-fFOzL80m92PcF9SC6NZ69OUuEJn1sl+mWVFjRorhS4M=";
|
2023-11-16 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ kicad ];
|
2023-11-16 04:20:00 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ versioneer ];
|
2023-11-16 04:20:00 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "pcbnewTransition" ];
|
2023-11-16 04:20:00 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library that allows you to support both, KiCad 5, 6 and 7 in your plugins";
|
|
|
|
homepage = "https://github.com/yaqwsx/pcbnewTransition";
|
|
|
|
changelog = "https://github.com/yaqwsx/pcbnewTransition/releases/tag/v${version}";
|
|
|
|
license = licenses.mit;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
jfly
|
|
|
|
matusf
|
|
|
|
];
|
2023-11-16 04:20:00 +00:00
|
|
|
};
|
|
|
|
}
|