Skip to content

Commit

Permalink
python3Packages.mkdocs-git-committers-plugin-2: refactor
Browse files Browse the repository at this point in the history
Signed-off-by: Luka Leer <luka.leer@gmail.com>
  • Loading branch information
mahtaran committed Oct 8, 2024
1 parent 5706224 commit 0324ec9
Showing 1 changed file with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonAtLeast,
pythonOlder,

# Build
setuptools,

# Dependencies
gitpython,
Expand All @@ -14,9 +17,9 @@
buildPythonPackage rec {
pname = "mkdocs-git-committers-plugin-2";
version = "2.4.1";
format = "setuptools";
pyproject = true;

disabled = !pythonAtLeast "3.8";
disabled = pythonOlder "3.8";

src = fetchFromGitHub {
owner = "ojacques";
Expand All @@ -25,12 +28,18 @@ buildPythonPackage rec {
hash = "sha256-hKt0K5gOkdUDwTlyMTwodl4gD1RD+s+CM+zEpngSnlc=";
};

propagatedBuildInputs = [
build-system = [
setuptools
];

dependencies = [
gitpython
mkdocs
requests
];

# Upstream has no tests
doCheck = false;
pythonImportsCheck = [ "mkdocs_git_committers_plugin_2" ];

meta = {
Expand Down

0 comments on commit 0324ec9

Please sign in to comment.