summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/bitlist/default.nix
blob: d7e6ad03f21625bbacf869d2bb0a5f51af73c414 (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  parts,
  pytest-cov-stub,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "bitlist";
  version = "2.0.0";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-mbXSvIUYsnZy/pmZLFXa1bqrwK+JZ2eySuDRCVAs1zk=";
  };

  pythonRelaxDeps = [ "parts" ];

  build-system = [ setuptools ];

  dependencies = [ parts ];

  nativeCheckInputs = [
    pytest-cov-stub
    pytestCheckHook
  ];

  pythonImportsCheck = [ "bitlist" ];

  meta = {
    description = "Python library for working with little-endian list representation of bit strings";
    homepage = "https://github.com/lapets/bitlist";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}