1{ lib
2, pythonOlder
3, buildPythonPackage
4, fetchFromGitHub
5, pkutils
6 # Check Inputs
7, pytestCheckHook
8, nose
9}:
10
11buildPythonPackage rec {
12 pname = "pygogo";
13 version = "0.13.2";
14
15 disabled = pythonOlder "3.6";
16
17 src = fetchFromGitHub {
18 owner = "reubano";
19 repo = "pygogo";
20 rev = "v${version}";
21 sha256 = "19rdf4sjrm5lp1vq1bki21a9lrkzz8sgrfwgjdkq4sgy90hn1jn9";
22 };
23
24 nativeBuildInputs = [ pkutils ];
25
26 checkInputs = [ nose ];
27 checkPhase = "nosetests";
28 pythonImportsCheck = [ "pygogo" ];
29
30 meta = with lib; {
31 description = "A Python logging library with super powers";
32 homepage = "https://github.com/reubano/pygogo/";
33 license = licenses.mit;
34 maintainers = with maintainers; [ drewrisinger ];
35 };
36}