Files
nixpkgs/pkgs/development/python-modules/pcbnewtransition/default.nix
T
Jeremy Fleischman cb51a6a99a python3.pkgs.pcbnewtransition: 0.5.0 -> 0.5.2
It looks like they've started publishing sdists with lowercase filenames
(`pcbnewtransition-X.Y.Z.tar.gz` rather than
`pcbnewTransition-X.Y.Z.tar.gz`).
2025-04-06 10:41:34 -07:00

39 lines
845 B
Nix

{
pythonOlder,
buildPythonPackage,
fetchPypi,
lib,
kicad,
versioneer,
}:
buildPythonPackage rec {
pname = "pcbnewtransition";
version = "0.5.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname;
inherit version;
hash = "sha256-zLnvbu0G2mJKCHLCjbIKHBqSfdEyhR+1afkOFU++TfI=";
};
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
];
};
}