nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 pytestCheckHook,
6 setuptools,
7}:
8
9buildPythonPackage (finalAttrs: {
10 pname = "intbitset";
11 version = "4.1.0";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit (finalAttrs) pname version;
16 hash = "sha256-cxRf8F5CJ8dlhf+FUGOLagg80TABC3gQRdga9Y97aSA=";
17 };
18
19 build-system = [ setuptools ];
20 nativeCheckInputs = [ pytestCheckHook ];
21
22 pythonImportsCheck = [ "intbitset" ];
23
24 meta = {
25 description = "C-based extension implementing fast integer bit sets";
26 homepage = "https://github.com/inveniosoftware/intbitset";
27 changelog = "https://github.com/inveniosoftware-contrib/intbitset/blob/v${finalAttrs.version}/CHANGELOG.rst";
28 license = lib.licenses.lgpl3Plus;
29 maintainers = with lib.maintainers; [ sigmanificient ];
30 };
31})