Files
nixpkgs/pkgs/development/python-modules/klayout/default.nix
2025-03-14 03:40:33 +00:00

43 lines
691 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
lib,
buildPythonPackage,
fetchPypi,
curl,
cython,
expat,
libpng,
setuptools,
}:
buildPythonPackage rec {
pname = "klayout";
version = "0.29.12";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-6eJpoxdrUuMBn78QTqvh8zfUH0B8YvWTQR28hZ7HLCY=";
};
build-system = [
cython
setuptools
];
buildInputs = [
curl
expat
libpng
];
pythonImportsCheck = [ "klayout" ];
meta = with lib; {
description = "KLayouts Python API";
homepage = "https://github.com/KLayout/klayout";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ fbeffa ];
platforms = platforms.linux;
};
}