nixpkgs/pkgs/development/python-modules/simber/default.nix

26 lines
649 B
Nix
Raw Normal View History

2021-06-15 21:41:28 +00:00
{ lib, buildPythonPackage, fetchFromGitHub, colorama, pytestCheckHook }:
buildPythonPackage rec {
pname = "simber";
2021-07-02 22:44:33 +00:00
version = "0.2.3";
2021-06-15 21:41:28 +00:00
src = fetchFromGitHub {
owner = "deepjyoti30";
repo = pname;
rev = version;
2021-07-02 22:44:33 +00:00
sha256 = "04dp9b4s7zb166vlacsaypc6iw1p75azqas1wf0flp570qqf3rkx";
2021-06-15 21:41:28 +00:00
};
propagatedBuildInputs = [ colorama ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "simber" ];
meta = with lib; {
description = "Simple, minimal and powerful logger for Python";
homepage = "https://github.com/deepjyoti30/simber";
license = licenses.mit;
maintainers = with maintainers; [ j0hax ];
};
}