python312Packages.multiset: refactor

This commit is contained in:
Fabian Affolter 2024-08-27 20:25:58 +02:00 committed by GitHub
parent 7c1649c4e7
commit 56864b3bb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "multiset";
version = "3.2.0";
format = "pyproject";
pyproject = true;
src = fetchPypi {
inherit pname version;
@ -22,15 +22,15 @@ buildPythonPackage rec {
sed -i '/python_requires/d' setup.cfg
'';
nativeBuildInputs = [
build-system = [
setuptools
setuptools-scm
];
pythonImportsCheck = [ "multiset" ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "multiset" ];
meta = with lib; {
description = "Implementation of a multiset";
homepage = "https://github.com/wheerd/multiset";