lol

python313Packages.formulae: modernize

+4 -7
+4 -7
pkgs/development/python-modules/formulae/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 - pythonOlder, 5 4 fetchFromGitHub, 6 5 setuptools, 7 6 setuptools-scm, ··· 14 13 buildPythonPackage rec { 15 14 pname = "formulae"; 16 15 version = "0.5.4"; 17 - format = "pyproject"; 18 - 19 - disabled = pythonOlder "3.7"; 16 + pyproject = true; 20 17 21 18 src = fetchFromGitHub { 22 19 owner = "bambinos"; ··· 25 22 hash = "sha256-SSyQa7soIp+wSXX5wek9LG95q7J7K34mztzx01lPiWo="; 26 23 }; 27 24 28 - nativeBuildInputs = [ 25 + build-system = [ 29 26 setuptools 30 27 setuptools-scm 31 28 ]; 32 29 33 - propagatedBuildInputs = [ 30 + dependencies = [ 34 31 numpy 35 32 pandas 36 33 scipy ··· 54 51 meta = with lib; { 55 52 homepage = "https://bambinos.github.io/formulae"; 56 53 description = "Formulas for mixed-effects models in Python"; 57 - changelog = "https://github.com/bambinos/formulae/releases/tag/${version}"; 54 + changelog = "https://github.com/bambinos/formulae/releases/tag/${src.tag}"; 58 55 license = licenses.mit; 59 56 maintainers = with maintainers; [ bcdarwin ]; 60 57 };