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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
741 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, colorama
, pytestCheckHook
, pythonOlder
}:
2021-06-15 21:41:28 +00:00
buildPythonPackage rec {
pname = "simber";
version = "0.2.4";
format = "setuptools";
disabled = pythonOlder "3.7";
2021-06-15 21:41:28 +00:00
src = fetchFromGitHub {
owner = "deepjyoti30";
repo = pname;
rev = version;
hash = "sha256-P4bhxu9Di4E2Zkd0vIkyDi1S6Y0V/EQSMF4ftWoiXKE=";
2021-06-15 21:41:28 +00:00
};
propagatedBuildInputs = [
colorama
];
checkInputs = [
pytestCheckHook
];
2021-06-15 21:41:28 +00:00
pythonImportsCheck = [
"simber"
];
2021-06-15 21:41:28 +00:00
meta = with lib; {
description = "Simple, minimal and powerful logger for Python";
homepage = "https://github.com/deepjyoti30/simber";
license = licenses.mit;
maintainers = with maintainers; [ j0hax ];
};
}