python313Packages.simpleeval: refactor (#387568)

This commit is contained in:
Fabian Affolter
2025-03-06 16:54:03 +01:00
committed by GitHub
@@ -2,23 +2,23 @@
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
hatchling,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "simpleeval";
version = "1.0.3";
format = "pyproject";
pyproject = true;
src = fetchFromGitHub {
owner = "danthedeckie";
repo = pname;
repo = "simpleeval";
tag = version;
hash = "sha256-CwCuQ/wd8nLKKXji2dzz9mvZrQEm2/kEm93Pan/8+90=";
};
nativeBuildInputs = [ setuptools ];
build-system = [ hatchling ];
nativeCheckInputs = [ pytestCheckHook ];