Commit 5171e6a3 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python310Packages.enaml: disable on unsupported Python releases

- add format
parent e34a17ca
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -8,13 +8,18 @@
, pegen
, ply
, qtpy
, setuptools
, setuptools-scm
, pythonOlder
, sip_4
}:

buildPythonPackage rec {
  pname = "enaml";
  version = "0.16.0";
  format = "pyproject";

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "nucleic";
@@ -26,6 +31,7 @@ buildPythonPackage rec {
  SETUPTOOLS_SCM_PRETEND_VERSION = version;

  nativeBuildInputs = [
    setuptools
    setuptools-scm
  ];

@@ -40,7 +46,6 @@ buildPythonPackage rec {
    sip_4
  ];


  # qt bindings cannot be found during tests
  doCheck = false;