diff --git a/pkgs/development/python-modules/yte/default.nix b/pkgs/development/python-modules/yte/default.nix index a269cdd69176..3afdf2d243c5 100644 --- a/pkgs/development/python-modules/yte/default.nix +++ b/pkgs/development/python-modules/yte/default.nix @@ -3,6 +3,7 @@ buildPythonPackage, dpath, fetchFromGitHub, + numpy, plac, poetry-core, pytestCheckHook, @@ -12,7 +13,7 @@ buildPythonPackage rec { pname = "yte"; - version = "1.5.4"; + version = "1.5.5"; pyproject = true; disabled = pythonOlder "3.7"; @@ -21,18 +22,21 @@ buildPythonPackage rec { owner = "koesterlab"; repo = "yte"; rev = "refs/tags/v${version}"; - hash = "sha256-Rm3EKxRZCdYErkyWK9+fF2W7C+v5/MXD/LkehmB6UNQ="; + hash = "sha256-vHrYWdyWBqonCBWg1X+lTVlOHS30/yYqZ9sVK3/2n5o="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ dpath plac pyyaml ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + numpy + pytestCheckHook + ]; pythonImportsCheck = [ "yte" ]; @@ -45,10 +49,10 @@ buildPythonPackage rec { meta = with lib; { description = "YAML template engine with Python expressions"; - mainProgram = "yte"; homepage = "https://github.com/koesterlab/yte"; changelog = "https://github.com/yte-template-engine/yte/blob/v${version}/CHANGELOG.md"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; + mainProgram = "yte"; }; }