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