1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 parts,
6 pytest-cov-stub,
7 pytestCheckHook,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "bitlist";
13 version = "2.0.0";
14 pyproject = true;
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-mbXSvIUYsnZy/pmZLFXa1bqrwK+JZ2eySuDRCVAs1zk=";
19 };
20
21 pythonRelaxDeps = [ "parts" ];
22
23 build-system = [ setuptools ];
24
25 dependencies = [ parts ];
26
27 nativeCheckInputs = [
28 pytest-cov-stub
29 pytestCheckHook
30 ];
31
32 pythonImportsCheck = [ "bitlist" ];
33
34 meta = with lib; {
35 description = "Python library for working with little-endian list representation of bit strings";
36 homepage = "https://github.com/lapets/bitlist";
37 license = licenses.mit;
38 maintainers = with maintainers; [ fab ];
39 };
40}