nixpkgs/pkgs/tools/text/proselint/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

24 lines
655 B
Nix

{ lib, fetchurl, buildPythonApplication, click, future, six }:
buildPythonApplication rec {
pname = "proselint";
version = "0.13.0";
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 = "7dd2b63cc2aa390877c4144fcd3c80706817e860b017f04882fbcd2ab0852a58";
};
propagatedBuildInputs = [ click future six ];
meta = with lib; {
description = "A linter for prose";
mainProgram = "proselint";
homepage = "http://proselint.com";
license = licenses.bsd3;
maintainers = with maintainers; [ alibabzo ];
};
}