From 6ba379d6041957ae506a355c890f716381df61a2 Mon Sep 17 00:00:00 2001 From: Kirill Elagin Date: Sat, 10 Aug 2019 13:17:48 +0300 Subject: [PATCH] pythonPackages.boolean-py: init at 3.6 --- .../python-modules/boolean-py/default.nix | 21 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/python-modules/boolean-py/default.nix diff --git a/pkgs/development/python-modules/boolean-py/default.nix b/pkgs/development/python-modules/boolean-py/default.nix new file mode 100644 index 000000000000..cf35243f2b08 --- /dev/null +++ b/pkgs/development/python-modules/boolean-py/default.nix @@ -0,0 +1,21 @@ +{ lib, buildPythonPackage, fetchFromGitHub +}: + +buildPythonPackage rec { + pname = "boolean.py"; + version = "3.6"; + + src = fetchFromGitHub { + owner = "bastikr"; + repo = "boolean.py"; + rev = "v${version}"; + sha256 = "1wc89y73va58cj7dsx6c199zpxsy9q53dsffsdj6zmc90inqz6qs"; + }; + + meta = with lib; { + homepage = "https://github.com/bastikr/boolean.py"; + description = "Implements boolean algebra in one module"; + license = licenses.bsd2; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a89c4bf837b8..02c2ff3ab327 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1493,6 +1493,8 @@ in { boltztrap2 = callPackage ../development/python-modules/boltztrap2 { }; + boolean-py = callPackage ../development/python-modules/boolean-py { }; + bumps = callPackage ../development/python-modules/bumps {}; cached-property = callPackage ../development/python-modules/cached-property { };