From 658df6b55a8762ad116483eb08c537c37dc22804 Mon Sep 17 00:00:00 2001 From: matthewcroughan Date: Fri, 9 Feb 2024 22:18:45 +0000 Subject: [PATCH] python3Packages.pyannote-core: init at 5.0.0 --- .../python-modules/pyannote-core/default.nix | 44 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 46 insertions(+) create mode 100644 pkgs/development/python-modules/pyannote-core/default.nix diff --git a/pkgs/development/python-modules/pyannote-core/default.nix b/pkgs/development/python-modules/pyannote-core/default.nix new file mode 100644 index 000000000000..453bb0c4d60d --- /dev/null +++ b/pkgs/development/python-modules/pyannote-core/default.nix @@ -0,0 +1,44 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, setuptools +, wheel +, sortedcontainers +, numpy +, scipy +, typing-extensions +}: + +buildPythonPackage rec { + pname = "pyannote-core"; + version = "5.0.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "pyannote"; + repo = "pyannote-core"; + rev = version; + hash = "sha256-XQVEMy60LkfFr2TKXTeg6cGHRx5BUZ5qDgzIdKy/19Y="; + }; + + propagatedBuildInputs = [ + sortedcontainers + numpy + scipy + typing-extensions + ]; + + nativeBuildInputs = [ + setuptools + wheel + ]; + + pythonImportsCheck = [ "pyannote.core" ]; + + meta = with lib; { + description = "Advanced data structures for handling temporal segments with attached labels"; + homepage = "https://github.com/pyannote/pyannote-core"; + license = licenses.mit; + maintainers = with maintainers; [ ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 48a3a9a465a5..205c046e247c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10181,6 +10181,8 @@ self: super: with self; { pyannote-audio = callPackage ../development/python-modules/pyannote-audio { }; + pyannote-core = callPackage ../development/python-modules/pyannote-core { }; + pyarlo = callPackage ../development/python-modules/pyarlo { }; pyarr = callPackage ../development/python-modules/pyarr { };