Merge pull request #225972 from fabaff/enaml-fix

python310Packages.enaml: add missing input

authored by

Arnout Engelen and committed by
GitHub
c6341a30 0e4d8aa2

+79 -18
+31 -18
pkgs/development/python-modules/enaml/default.nix
··· 1 1 { lib 2 + , atom 2 3 , buildPythonPackage 4 + , bytecode 5 + , cppy 3 6 , fetchFromGitHub 4 - , setuptools-scm 5 - , atom 7 + , kiwisolver 8 + , pegen 6 9 , ply 7 - , kiwisolver 8 10 , qtpy 11 + , setuptools 12 + , setuptools-scm 13 + , pythonOlder 9 14 , sip_4 10 - , cppy 11 - , bytecode 12 15 }: 13 16 14 17 buildPythonPackage rec { 15 18 pname = "enaml"; 16 19 version = "0.16.0"; 20 + format = "pyproject"; 21 + 22 + disabled = pythonOlder "3.8"; 17 23 18 24 src = fetchFromGitHub { 19 25 owner = "nucleic"; ··· 22 28 hash = "sha256-0W5FWGS4vu5+O6/C4El60QDsRNj+P4xGQ62NdkfJd5I="; 23 29 }; 24 30 31 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 32 + 33 + nativeBuildInputs = [ 34 + setuptools 35 + setuptools-scm 36 + ]; 37 + 38 + propagatedBuildInputs = [ 39 + atom 40 + bytecode 41 + cppy 42 + kiwisolver 43 + pegen 44 + ply 45 + qtpy 46 + sip_4 47 + ]; 48 + 25 49 # qt bindings cannot be found during tests 26 50 doCheck = false; 27 51 ··· 40 64 "enaml.workbench" 41 65 ]; 42 66 43 - nativeBuildInputs = [ setuptools-scm ]; 44 - propagatedBuildInputs = [ 45 - atom 46 - ply 47 - kiwisolver 48 - qtpy 49 - sip_4 50 - cppy 51 - bytecode 52 - ]; 53 - SETUPTOOLS_SCM_PRETEND_VERSION = version; 54 - 55 67 meta = with lib; { 68 + description = "Declarative User Interfaces for Python"; 56 69 homepage = "https://github.com/nucleic/enaml"; 57 - description = "Declarative User Interfaces for Python"; 70 + changelog = "https://github.com/nucleic/enaml/releases/tag/${version}"; 58 71 license = licenses.bsd3; 59 72 maintainers = with maintainers; [ raboof ]; 60 73 };
+46
pkgs/development/python-modules/pegen/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 + , pythonOlder 6 + , setuptools 7 + , setuptools-scm 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "pegen"; 12 + version = "0.2.0"; 13 + format = "pyproject"; 14 + 15 + disabled = pythonOlder "3.8"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "we-like-parsers"; 19 + repo = pname; 20 + rev = "refs/tags/v${version}"; 21 + hash = "sha256-5nxOMgkDAkHtVFSNXf0SPoag6/E7b97eVnFoAqyJE3g="; 22 + }; 23 + 24 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 25 + 26 + nativeBuildInputs = [ 27 + setuptools 28 + setuptools-scm 29 + ]; 30 + 31 + nativeCheckInputs = [ 32 + pytestCheckHook 33 + ]; 34 + 35 + pythonImportsCheck = [ 36 + "pegen" 37 + ]; 38 + 39 + meta = with lib; { 40 + description = "Library to generate PEG parsers"; 41 + homepage = "https://github.com/we-like-parsers/pegen"; 42 + changelog = "https://github.com/we-like-parsers/pegen/releases/tag/v${version}"; 43 + license = licenses.mit; 44 + maintainers = with maintainers; [ fab ]; 45 + }; 46 + }
+2
pkgs/top-level/python-packages.nix
··· 7191 7191 7192 7192 peaqevcore = callPackage ../development/python-modules/peaqevcore { }; 7193 7193 7194 + pegen = callPackage ../development/python-modules/pegen { }; 7195 + 7194 7196 pebble = callPackage ../development/python-modules/pebble { }; 7195 7197 7196 7198 pecan = callPackage ../development/python-modules/pecan { };