nixpkgs/pkgs/development/python-modules/pyment/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

25 lines
639 B
Nix

{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "pyment";
version = "0.3.3";
format = "setuptools";
src = fetchPypi {
pname = "Pyment";
inherit version;
sha256 = "951a4c52d6791ccec55bc739811169eed69917d3874f5fe722866623a697f39d";
};
# Tests are not included in PyPI tarball
doCheck = false;
meta = with lib; {
homepage = "https://github.com/dadadel/pyment";
description = "Create, update or convert docstrings in existing Python files, managing several styles";
mainProgram = "pyment";
license = licenses.gpl3;
maintainers = with maintainers; [ jethro ];
};
}