Files
nixpkgs/pkgs/development/python-modules/enaml/default.nix
T
Michael Daniels 075e8c2c4f treewide: change 'format = "pyproject";' to 'pyproject = true;'
This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
2026-01-12 17:50:35 -05:00

71 lines
1.2 KiB
Nix

{
lib,
atom,
buildPythonPackage,
bytecode,
cppy,
fetchFromGitHub,
kiwisolver,
pegen,
ply,
qtpy,
setuptools,
setuptools-scm,
sip,
}:
buildPythonPackage rec {
pname = "enaml";
version = "0.19.0";
pyproject = true;
src = fetchFromGitHub {
owner = "nucleic";
repo = "enaml";
tag = version;
hash = "sha256-gsNJSK9QcavsiRx2n/S2bbf9ZVsqJXxBiUyBWVIZzj8=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
atom
bytecode
cppy
kiwisolver
pegen
ply
qtpy
sip
];
# qt bindings cannot be found during tests
doCheck = false;
pythonImportsCheck = [
"enaml"
"enaml.applib"
"enaml.core"
"enaml.core.parser"
"enaml.layout"
# qt bindings cannot be found during checking
#"enaml.qt"
#"enaml.qt.docking"
"enaml.scintilla"
"enaml.stdlib"
"enaml.widgets"
"enaml.workbench"
];
meta = {
description = "Declarative User Interfaces for Python";
homepage = "https://github.com/nucleic/enaml";
changelog = "https://github.com/nucleic/enaml/releases/tag/${version}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ raboof ];
};
}