nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python312Packages.whisper: cleanup

+13 -7
+13 -7
pkgs/development/python-modules/whisper/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 - mock, 5 + setuptools, 6 6 six, 7 + mock, 7 8 pytestCheckHook, 8 9 }: 9 10 10 11 buildPythonPackage rec { 11 12 pname = "whisper"; 12 13 version = "1.1.10"; 13 - format = "setuptools"; 14 + pyproject = true; 14 15 15 16 src = fetchFromGitHub { 16 17 owner = "graphite-project"; 17 - repo = pname; 18 + repo = "whisper"; 18 19 tag = version; 19 20 hash = "sha256-CnCbRmI2jc67mTtfupoE1uHtobrAiWoUXbfX8YeEV6A="; 20 21 }; 21 22 22 - propagatedBuildInputs = [ six ]; 23 + build-system = [ setuptools ]; 24 + 25 + dependencies = [ six ]; 23 26 24 27 nativeCheckInputs = [ 25 28 mock ··· 36 33 37 34 pythonImportsCheck = [ "whisper" ]; 38 35 39 - meta = with lib; { 36 + meta = { 40 37 homepage = "https://github.com/graphite-project/whisper"; 41 38 description = "Fixed size round-robin style database"; 42 - maintainers = with maintainers; [ 39 + changelog = "https://graphite.readthedocs.io/en/latest/releases/${ 40 + builtins.replaceStrings [ "." ] [ "_" ] version 41 + }.html"; 42 + maintainers = with lib.maintainers; [ 43 43 offline 44 44 basvandijk 45 45 ]; 46 - license = licenses.asl20; 46 + license = lib.licenses.asl20; 47 47 }; 48 48 }