587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
40 lines
852 B
Nix
40 lines
852 B
Nix
{ pythonOlder
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
, kicad
|
|
, versioneer
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "pcbnewtransition";
|
|
version = "0.4.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "pcbnewTransition";
|
|
inherit version;
|
|
hash = "sha256-+mRExuDuEYxSSlrkEjSyPK+RRJZo+YJH7WnUVfjblRQ=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
kicad
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
versioneer
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"pcbnewTransition"
|
|
];
|
|
|
|
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;
|
|
maintainers = with maintainers; [ jfly matusf ];
|
|
};
|
|
}
|