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