From 7e8d9197878f9f407ff7a97a94f2200ca0f32d63 Mon Sep 17 00:00:00 2001 From: Drew Risinger Date: Wed, 1 Jul 2020 22:53:09 -0400 Subject: [PATCH] python3Packages.pygogo: init at 0.13.2 --- .../python-modules/pygogo/default.nix | 36 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/development/python-modules/pygogo/default.nix diff --git a/pkgs/development/python-modules/pygogo/default.nix b/pkgs/development/python-modules/pygogo/default.nix new file mode 100644 index 000000000000..89031c9610aa --- /dev/null +++ b/pkgs/development/python-modules/pygogo/default.nix @@ -0,0 +1,36 @@ +{ lib +, pythonOlder +, buildPythonPackage +, fetchFromGitHub +, pkutils + # Check Inputs +, pytestCheckHook +, nose +}: + +buildPythonPackage rec { + pname = "pygogo"; + version = "0.13.2"; + + disabled = pythonOlder "3.6"; + + src = fetchFromGitHub { + owner = "reubano"; + repo = "pygogo"; + rev = "v${version}"; + sha256 = "19rdf4sjrm5lp1vq1bki21a9lrkzz8sgrfwgjdkq4sgy90hn1jn9"; + }; + + nativeBuildInputs = [ pkutils ]; + + checkInputs = [ nose ]; + checkPhase = "nosetests"; + pythonImportsCheck = [ "pygogo" ]; + + meta = with lib; { + description = "A Python logging library with super powers"; + homepage = "https://github.com/reubano/pygogo/"; + license = licenses.mit; + maintainers = with maintainers; [ drewrisinger ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8171ae757849..6b3f14b01011 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4787,6 +4787,8 @@ in { pygal = callPackage ../development/python-modules/pygal { }; + pygogo = callPackage ../development/python-modules/pygogo { }; + pytaglib = callPackage ../development/python-modules/pytaglib { }; pyte = callPackage ../development/python-modules/pyte { };