2 , buildPythonApplication
8 python3.pkgs.buildPythonApplication rec {
13 src = fetchFromGitHub {
14 owner = "jorisroovers";
16 rev = "refs/tags/v${version}";
17 hash = "sha256-4SGkkC4LjZXTDXwK6jMOIKXR1qX76CasOwSqv8XUrjs=";
20 # Upstream splitted the project into gitlint and gitlint-core to
21 # simplify the dependency handling
22 sourceRoot = "${src.name}/gitlint-core";
24 nativeBuildInputs = with python3.pkgs; [
29 propagatedBuildInputs = with python3.pkgs; [
35 nativeCheckInputs = with python3.pkgs; [
40 pythonImportsCheck = [
45 description = "Linting for your git commit messages";
46 homepage = "https://jorisroovers.com/gitlint/";
47 changelog = "https://github.com/jorisroovers/gitlint/releases/tag/v${version}";
48 license = licenses.mit;
49 maintainers = with maintainers; [ ethancedwards8 fab ];
50 mainProgram = "gitlint";