diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-11-16 18:01:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 18:01:17 +0000 |
commit | dba5c9ef4ed32157e57d2e00ab19be3263cc63c9 (patch) | |
tree | 6446ece865f4a4d4a6d03ab688e853831eb8a9c4 /pkgs/development/python-modules/pcbnew-transition/default.nix | |
parent | 301fcc69ba3bc67deb1754ecd61fdba6ba50a2b4 (diff) | |
parent | cd1338d66652a9606ac4e3c99996c8957e642dcc (diff) |
Merge master into staging-next
Diffstat (limited to 'pkgs/development/python-modules/pcbnew-transition/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pcbnew-transition/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pcbnew-transition/default.nix b/pkgs/development/python-modules/pcbnew-transition/default.nix new file mode 100644 index 0000000000000..2ac478308cdab --- /dev/null +++ b/pkgs/development/python-modules/pcbnew-transition/default.nix @@ -0,0 +1,39 @@ +{ 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 ]; + }; +} |