depot/third_party/nixpkgs/pkgs/development/python-modules/pygogo/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

35 lines
723 B
Nix

{ lib
, pythonOlder
, buildPythonPackage
, fetchFromGitHub
, pkutils
# Check Inputs
, 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 ];
};
}