Files
nixpkgs/pkgs/development/python-modules/enaml/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

74 lines
1.3 KiB
Nix

{
lib,
atom,
buildPythonPackage,
bytecode,
cppy,
fetchFromGitHub,
kiwisolver,
pegen,
ply,
qtpy,
setuptools,
setuptools-scm,
pythonOlder,
sip,
}:
buildPythonPackage rec {
pname = "enaml";
version = "0.19.0";
format = "pyproject";
disabled = pythonOlder "3.8";
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 ];
};
}