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

28 lines
575 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "pep8";
version = "1.7.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "fe249b52e20498e59e0b5c5256aa52ee99fc295b26ec9eaa85776ffdb9fe6374";
};
# FAIL: test_checkers_testsuite (testsuite.test_all.Pep8TestCase)
doCheck = false;
meta = with lib; {
homepage = "https://pep8.readthedocs.org/";
description = "Python style guide checker";
mainProgram = "pep8";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}