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

23 lines
624 B
Nix
Raw Normal View History

{ lib, fetchurl, buildPythonApplication, click, future, six }:
2017-03-02 19:53:22 +01:00
buildPythonApplication rec {
pname = "proselint";
2021-09-13 01:36:52 +02:00
version = "0.12.0";
2017-03-02 19:53:22 +01:00
doCheck = false; # fails to pass because it tries to run in home directory
2017-03-02 19:53:22 +01:00
src = fetchurl {
url = "mirror://pypi/p/proselint/${pname}-${version}.tar.gz";
2021-09-13 01:36:52 +02:00
sha256 = "2a98d9c14382d94ed9122a6c0b0657a814cd5c892c77d9477309fc99f86592e6";
2017-03-02 19:53:22 +01:00
};
propagatedBuildInputs = [ click future six ];
meta = with lib; {
2017-03-02 19:53:22 +01:00
description = "A linter for prose";
homepage = "http://proselint.com";
2017-03-02 19:53:22 +01:00
license = licenses.bsd3;
maintainers = with maintainers; [ alibabzo ];
};
}