lol

python313Packages.simpleeval: refactor

+4 -4
+4 -4
pkgs/development/python-modules/simpleeval/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 - setuptools, 5 + hatchling, 6 6 pytestCheckHook, 7 7 }: 8 8 9 9 buildPythonPackage rec { 10 10 pname = "simpleeval"; 11 11 version = "1.0.3"; 12 - format = "pyproject"; 12 + pyproject = true; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "danthedeckie"; 16 - repo = pname; 16 + repo = "simpleeval"; 17 17 tag = version; 18 18 hash = "sha256-CwCuQ/wd8nLKKXji2dzz9mvZrQEm2/kEm93Pan/8+90="; 19 19 }; 20 20 21 - nativeBuildInputs = [ setuptools ]; 21 + build-system = [ hatchling ]; 22 22 23 23 nativeCheckInputs = [ pytestCheckHook ]; 24 24