summary refs log tree commit diff
path: root/pkgs/tools/text/proselint/default.nix
blob: 27e9c80bc7d57feac0d715ab9e8adba522e1a1eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, buildPythonApplication, click, future, six }:

buildPythonApplication rec {
  pname = "proselint";
  version = "0.10.2";

  doCheck = false; # fails to pass because it tries to run in home directory

  src = fetchurl {
    url = "mirror://pypi/p/proselint/${pname}-${version}.tar.gz";
    sha256 = "017risn0j1bjy9ygzfgphjnyjl4gk7wbrr4qv1vvrlan60wyp1rs";
  };

  propagatedBuildInputs = [ click future six ];

  meta = with stdenv.lib; {
    description = "A linter for prose";
    homepage = http://proselint.com;
    license = licenses.bsd3;
    maintainers = with maintainers; [ alibabzo ];
  };
}