From b76a2e5d8ac83a6b9f935d2cea3aec29022a136c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 25 Aug 2026 19:11:31 +0200 Subject: [PATCH] fixup! python3Packages.julius: 0.2.7 -> 0.2.8 --- .../python-modules/julius/default.nix | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/julius/default.nix b/pkgs/development/python-modules/julius/default.nix index 9904c2c1cedc..4493345dece0 100644 --- a/pkgs/development/python-modules/julius/default.nix +++ b/pkgs/development/python-modules/julius/default.nix @@ -2,34 +2,30 @@ lib, buildPythonPackage, fetchPypi, - setuptools, - wheel, + hatchling, torch, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "julius"; version = "0.2.8"; pyproject = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-1pHmUSAJMK/+pPbIScJulf7IRghyga49GndX6skCU9U="; }; - propagatedBuildInputs = [ torch ]; + build-system = [ hatchling ]; - nativeBuildInputs = [ - setuptools - wheel - ]; + dependencies = [ torch ]; pythonImportsCheck = [ "julius" ]; meta = { - description = "Nice DSP sweets: resampling, FFT Convolutions. All with PyTorch, differentiable and with CUDA support"; - homepage = "https://pypi.org/project/julius/"; + description = "Module to perform resampling and FFT convolutions"; + homepage = "https://github.com/adefossez/julius"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ matthewcroughan ]; }; -} +})