python3Packages.pygogo: init at 0.13.2
This commit is contained in:
36
pkgs/development/python-modules/pygogo/default.nix
Normal file
36
pkgs/development/python-modules/pygogo/default.nix
Normal file
@@ -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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user