Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pcbnew-transition / default.nix
blob2ac478308cdab526f4f099290a15ac383a9c97cc
1 { pythonOlder
2 , buildPythonPackage
3 , fetchPypi
4 , lib
5 , kicad
6 , versioneer
7 }:
8 buildPythonPackage rec {
9   pname = "pcbnewTransition";
10   version = "0.3.4";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-3CJUG1kd63Lg0r9HpJRIvttHS5s2EuZRoxeXrqsJ/kQ=";
18   };
20   propagatedBuildInputs = [
21     kicad
22   ];
24   nativeBuildInputs = [
25     versioneer
26   ];
28   pythonImportsCheck = [
29     "pcbnewTransition"
30   ];
32   meta = with lib; {
33     description = "Library that allows you to support both, KiCad 5, 6 and 7 in your plugins";
34     homepage = "https://github.com/yaqwsx/pcbnewTransition";
35     changelog = "https://github.com/yaqwsx/pcbnewTransition/releases/tag/v${version}";
36     license = licenses.mit;
37     maintainers = with maintainers; [ jfly matusf ];
38   };