python312Packages.autoslot: 2022.12.1 -> 2024.12.1 (#362607)

This commit is contained in:
Fabian Affolter
2024-12-07 01:20:42 +01:00
committed by GitHub
@@ -9,8 +9,8 @@
buildPythonPackage rec {
pname = "autoslot";
version = "2022.12.1";
format = "pyproject";
version = "2024.12.1";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -18,16 +18,10 @@ buildPythonPackage rec {
owner = "cjrh";
repo = "autoslot";
rev = "refs/tags/v${version}";
hash = "sha256-fG4rRwRubJt2aXChEsMybEKal6LscZI7GA2uwtK5Vtg=";
hash = "sha256-wYjsBrjvSZFHDt0HLrnS9Xwk8EHVQupfPSkQnUFmMAk=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'requires = ["flit"]' 'requires = ["flit_core"]' \
--replace 'build-backend = "flit.buildapi"' 'build-backend = "flit_core.buildapi"'
'';
nativeBuildInputs = [ flit-core ];
build-system = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook ];