nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6}:
7
8buildPythonPackage rec {
9 pname = "boolean-py";
10 version = "5.0";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "bastikr";
15 repo = "boolean.py";
16 tag = "v${version}";
17 hash = "sha256-h5iHcdN77ZRGMJnSJLoYkRTY1TeJ3yQ1eF193HKsNqU=";
18 };
19
20 nativeCheckInputs = [ pytestCheckHook ];
21
22 pythonImportsCheck = [ "boolean" ];
23
24 meta = {
25 description = "Implements boolean algebra in one module";
26 homepage = "https://github.com/bastikr/boolean.py";
27 license = lib.licenses.bsd2;
28 maintainers = [ ];
29 };
30}