Unverified Commit 4252194b authored by drainpixie's avatar drainpixie Committed by GitHub
Browse files

proselint: 0.13.0 -> 0.14.0 (#381194)

* proselint: 0.13.0 -> 0.14.0

* fix: omitted lib from replaceStrings

* chore: format
parent b51665db
Loading
Loading
Loading
Loading
+15 −12
Original line number Diff line number Diff line
{
  lib,
  python3Packages,
  fetchurl,
  buildPythonApplication,
  click,
  future,
  six,
}:

buildPythonApplication rec {
  pname = "proselint";
  version = "0.13.0";
  version = "0.14.0";

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

  src = fetchurl {
    url = "mirror://pypi/p/proselint/${pname}-${version}.tar.gz";
    sha256 = "7dd2b63cc2aa390877c4144fcd3c80706817e860b017f04882fbcd2ab0852a58";
    sha256 = "YklkJyvqFHZ+XfJWHYfdMHZ5OMjLUvsjWFvDdYBoDoY=";
  };

  propagatedBuildInputs = [
    click
    future
    six
  ];
  nativeBuildInputs = [ python3Packages.poetry-core ];
  propagatedBuildInputs = [ click ];

  meta = with lib; {
    description = "Linter for prose";
    description = "A linter for prose.";
    mainProgram = "proselint";
    homepage = "http://proselint.com";

    homepage = "https://github.com/amperser/proselint";
    changelog = "https://github.com/amperser/proselint/blob/main/CHANGELOG.md#proselint${
      lib.replaceStrings [ "." ] [ "" ] version
    }";

    downloadPage = "https://pypi.org/project/proselint/${version}/#files";

    license = licenses.bsd3;
    maintainers = [ ];
  };
+1 −1
Original line number Diff line number Diff line
@@ -10283,7 +10283,7 @@ with pkgs;
  proselint = callPackage ../tools/text/proselint {
    inherit (python3Packages)
    buildPythonApplication click future six;
    buildPythonApplication click;
  };
  prospector = callPackage ../development/tools/prospector { };