nixpkgs/pkgs/tools/text/proselint/default.nix

23 lines
618 B
Nix
Raw Normal View History

2017-03-02 18:53:22 +00:00
{ stdenv, fetchurl, buildPythonApplication, click, future, six }:
buildPythonApplication rec {
name = "proselint-${version}";
2018-08-01 21:15:54 +01:00
version = "0.10.0";
2017-03-02 18:53:22 +00:00
doCheck = false; # fails to pass because it tries to run in home directory
2017-03-02 18:53:22 +00:00
src = fetchurl {
url = "mirror://pypi/p/proselint/${name}.tar.gz";
2018-08-01 21:15:54 +01:00
sha256 = "0kmr95mf2gij40qy4660ryfanw13vxlhpmivqia1mdbii8iziyhg";
2017-03-02 18:53:22 +00:00
};
propagatedBuildInputs = [ click future six ];
meta = with stdenv.lib; {
description = "A linter for prose";
homepage = http://proselint.com;
license = licenses.bsd3;
maintainers = with maintainers; [ alibabzo ];
};
}