at master 812 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 setuptools-scm, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "multiset"; 12 version = "3.2.0"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-fFmnhihLnDOd9PIZ3LtM5fRNOsGyD5ImNsTXieic97U="; 18 }; 19 20 postPatch = '' 21 # Drop broken version specifier 22 sed -i '/python_requires/d' setup.cfg 23 ''; 24 25 build-system = [ 26 setuptools 27 setuptools-scm 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ "multiset" ]; 33 34 meta = with lib; { 35 description = "Implementation of a multiset"; 36 homepage = "https://github.com/wheerd/multiset"; 37 changelog = "https://github.com/wheerd/multiset/releases/tag/${version}"; 38 license = licenses.mit; 39 maintainers = [ ]; 40 }; 41}