From 1d8c7f5499d922b3f6574cf3214ca81d94e2c637 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Sat, 30 Jan 2021 11:28:36 +0000 Subject: [PATCH] python3Packages.pebble: init at 4.6.0 (#111276) --- .../python-modules/pebble/default.nix | 24 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/python-modules/pebble/default.nix diff --git a/pkgs/development/python-modules/pebble/default.nix b/pkgs/development/python-modules/pebble/default.nix new file mode 100644 index 000000000000..68aa1ba97075 --- /dev/null +++ b/pkgs/development/python-modules/pebble/default.nix @@ -0,0 +1,24 @@ +{ lib, buildPythonPackage, isPy27, fetchPypi, pytestCheckHook }: + +buildPythonPackage rec { + pname = "pebble"; + version = "4.6.0"; + disabled = isPy27; + + src = fetchPypi { + pname = "Pebble"; + inherit version; + sha256 = "0a595f7mrf89xlck9b2x83bqybc9zd9jxkl0sa5cf19vax18rg8h"; + }; + + checkInputs = [ + pytestCheckHook + ]; + + meta = with lib; { + description = "API to manage threads and processes within an application"; + homepage = "https://github.com/noxdafox/pebble"; + license = licenses.lgpl3Plus; + maintainers = with maintainers; [ orivej ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e2bf63d4764d..0e91c6972f02 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4749,6 +4749,8 @@ in { pdoc3 = callPackage ../development/python-modules/pdoc3 { }; + pebble = callPackage ../development/python-modules/pebble { }; + pecan = callPackage ../development/python-modules/pecan { }; peewee = callPackage ../development/python-modules/peewee { };