mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
0baca7e30e
Co-authored-by: Rohit <rohitsutradhar311@gmail.com> Co-authored-by: Jeremy Fleischman <jeremyfleischman@gmail.com> Co-authored-by: Shahar "Dawn" Or <mightyiampresence@gmail.com> Co-authored-by: Alejandro Sanchez Medina <alejandrosanchzmedina@gmail.com> Co-authored-by: Matúš Ferech <matus.ferech@gmail.com>
40 lines
826 B
Nix
40 lines
826 B
Nix
{ pythonOlder
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
, kicad
|
|
, versioneer
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "pcbnewTransition";
|
|
version = "0.3.4";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-3CJUG1kd63Lg0r9HpJRIvttHS5s2EuZRoxeXrqsJ/kQ=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|