blob: c8d813047d5f9f75dd88ebfb983e8397671bf7e3 (
plain) (
blame)
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
42
43
|
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, setuptools-scm
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "multiset";
version = "3.0.2";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-oqUSMaQtkiriJFwpTCNaKfioiOBoZdL84hxuyvER//8=";
};
postPatch = ''
# Drop broken version specifier
sed -i '/python_requires/d' setup.cfg
'';
nativeBuildInputs = [
setuptools
setuptools-scm
];
pythonImportsCheck = [
"multiset"
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "An implementation of a multiset";
homepage = "https://github.com/wheerd/multiset";
license = licenses.mit;
maintainers = [ ];
};
}
|