diff --git a/pkgs/development/python-modules/sciline/default.nix b/pkgs/development/python-modules/sciline/default.nix new file mode 100644 index 000000000000..f9f58da4b938 --- /dev/null +++ b/pkgs/development/python-modules/sciline/default.nix @@ -0,0 +1,70 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + + # build-system + setuptools, + setuptools-scm, + + # dependencies + cyclebane, + + # tests + pytestCheckHook, + pytest-randomly, + rich, + dask, + graphviz, + jsonschema, + numpy, + pandas, + pydantic, +}: + +buildPythonPackage (finalAttrs: { + pname = "sciline"; + version = "25.11.1"; + pyproject = true; + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "scipp"; + repo = "sciline"; + tag = finalAttrs.version; + hash = "sha256-BTdvPAeI7SWV8gNfXVC63YKghZOfJ9eFousOqycpTAw="; + }; + + build-system = [ + setuptools + setuptools-scm + ]; + + dependencies = [ + cyclebane + ]; + + nativeCheckInputs = [ + pytestCheckHook + pytest-randomly + dask + graphviz + jsonschema + numpy + pandas + pydantic + rich + ]; + + pythonImportsCheck = [ + "sciline" + ]; + + meta = { + description = "Build scientific pipelines for your data"; + homepage = "https://scipp.github.io/sciline/"; + changelog = "https://github.com/scipp/sciline/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ doronbehar ]; + }; +}) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8555929304d9..ba5605e313da 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -17768,6 +17768,8 @@ self: super: with self; { scikits-odes-sundials = callPackage ../development/python-modules/scikits-odes-sundials { }; + sciline = callPackage ../development/python-modules/sciline { }; + scim2-client = callPackage ../development/python-modules/scim2-client { }; scim2-filter-parser = callPackage ../development/python-modules/scim2-filter-parser { };