cb51a6a99a
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`).
39 lines
845 B
Nix
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
|
|
];
|
|
};
|
|
}
|