depot/third_party/nixpkgs/pkgs/development/python-modules/repl-python-wakatime/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

52 lines
1 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
ipython,
keyring,
ptpython,
pytestCheckHook,
pythonOlder,
setuptools,
setuptools-generate,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "repl-python-wakatime";
version = "0.0.11";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-HoCdeo03Lf3g5Xg0GgAyWOu2PtGqy33vg5bQrfkEPkE=";
};
build-system = [
setuptools
setuptools-scm
setuptools-generate
];
dependencies = [
ptpython
ipython
];
nativeCheckInputs = [
keyring
pytestCheckHook
];
pythonImportsCheck = [ "repl_python_wakatime" ];
meta = with lib; {
description = "Python REPL plugin for automatic time tracking and metrics generated from your programming activity";
homepage = "https://github.com/wakatime/repl-python-wakatime";
changelog = "https://github.com/wakatime/repl-python-wakatime/releases/tag/${version}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ jfvillablanca ];
};
}