depot/third_party/nixpkgs/pkgs/development/python-modules/pcbnew-transition/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

39 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 ];
};
}