nixpkgs/pkgs/development/python-modules/boolean-py/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
667 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
2019-08-10 13:17:48 +03:00
}:
buildPythonPackage rec {
pname = "boolean-py";
version = "5.0";
format = "setuptools";
disabled = pythonOlder "3.7";
2019-08-10 13:17:48 +03:00
src = fetchFromGitHub {
owner = "bastikr";
repo = "boolean.py";
tag = "v${version}";
hash = "sha256-h5iHcdN77ZRGMJnSJLoYkRTY1TeJ3yQ1eF193HKsNqU=";
2019-08-10 13:17:48 +03:00
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "boolean" ];
2019-08-10 13:17:48 +03:00
meta = with lib; {
description = "Implements boolean algebra in one module";
homepage = "https://github.com/bastikr/boolean.py";
2019-08-10 13:17:48 +03:00
license = licenses.bsd2;
maintainers = [ ];
2019-08-10 13:17:48 +03:00
};
}