mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
38 lines
833 B
Nix
38 lines
833 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
colorama,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "simber";
|
|
version = "0.2.6";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "deepjyoti30";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-kHoFZD7nhVxJu9MqePLkL7KTG2saPecY9238c/oeEco=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ colorama ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "simber" ];
|
|
|
|
meta = with lib; {
|
|
description = "Simple, minimal and powerful logger for Python";
|
|
homepage = "https://github.com/deepjyoti30/simber";
|
|
changelog = "https://github.com/deepjyoti30/simber/releases/tag/${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ j0hax ];
|
|
};
|
|
}
|