summary refs log tree commit diff
path: root/pkgs/development/python-modules/pep257/default.nix
blob: d6205fc6e72ecddcd86838d46bcc15627e7cda45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, mock }:

buildPythonPackage rec {
  pname = "pep257";
  version = "6.1.1";

  src = fetchFromGitHub {
    owner = "GreenSteam";
    repo = "pep257";
    rev = version;
    sha256 = "0hcf3nyvzl8kd6gmc9qsiigz7vpwrjxcd1bd50dd63cad87qqicg";
  };

  checkInputs = [ pytestCheckHook mock ];

  meta = with lib; {
    homepage = "https://github.com/GreenSteam/pep257/";
    description = "Python docstring style checker";
    longDescription = "Static analysis tool for checking compliance with Python PEP 257.";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}