mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-13 00:34:04 +00:00
36 lines
706 B
Nix
36 lines
706 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "boolean-py";
|
|
version = "5.0";
|
|
pyproject = true;
|
|
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bastikr";
|
|
repo = "boolean.py";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-h5iHcdN77ZRGMJnSJLoYkRTY1TeJ3yQ1eF193HKsNqU=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "boolean" ];
|
|
|
|
meta = {
|
|
description = "Implements boolean algebra in one module";
|
|
homepage = "https://github.com/bastikr/boolean.py";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = [ ];
|
|
};
|
|
})
|