about summary refs log tree commit diff
diff options
context:
space:
mode:
authormatthewcroughan <matt@croughan.sh>2024-02-09 21:50:40 +0000
committerEmery Hemingway <ehmry@posteo.net>2024-02-20 14:18:33 +0000
commitac8f48df38f529619bbfb853f61dd183f7cbb502 (patch)
treea6771c506b0a748878a04869b9977ef9a0f901ca
parentdc4fb5062ac2f3952a26a20d5f495decbdeffe66 (diff)
python3Packages.julius: init at 0.2.7
-rw-r--r--pkgs/development/python-modules/julius/default.nix36
-rw-r--r--pkgs/top-level/python-packages.nix2
2 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/julius/default.nix b/pkgs/development/python-modules/julius/default.nix
new file mode 100644
index 0000000000000..a261b43454d62
--- /dev/null
+++ b/pkgs/development/python-modules/julius/default.nix
@@ -0,0 +1,36 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, setuptools
+, wheel
+, torch
+}:
+
+buildPythonPackage rec {
+  pname = "julius";
+  version = "0.2.7";
+  pyproject = true;
+
+  src = fetchPypi {
+    inherit pname version;
+    hash = "sha256-PA9fUwbX1gFvzJUZaydMrm8H4slZbu0xTk52QVVPuwg=";
+  };
+
+  propagatedBuildInputs = [
+    torch
+  ];
+
+  nativeBuildInputs = [
+    setuptools
+    wheel
+  ];
+
+  pythonImportsCheck = [ "julius" ];
+
+  meta = with lib; {
+    description = "Nice DSP sweets: resampling, FFT Convolutions. All with PyTorch, differentiable and with CUDA support";
+    homepage = "https://pypi.org/project/julius/";
+    license = licenses.mit;
+    maintainers = with maintainers; [ matthewcroughan ];
+  };
+}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 9d4ded8fb1c6e..196a081bc26e2 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -5999,6 +5999,8 @@ self: super: with self; {
 
   jug = callPackage ../development/python-modules/jug { };
 
+  julius = callPackage ../development/python-modules/julius { };
+
   junitparser = callPackage ../development/python-modules/junitparser { };
 
   junit2html = callPackage ../development/python-modules/junit2html { };