mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
python39Packages.pep257: cleanup
This commit is contained in:
parent
955a657de4
commit
7bbd7efdcb
|
@ -1,4 +1,5 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitHub, pytest, mock }:
|
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, mock }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pep257";
|
pname = "pep257";
|
||||||
version = "0.7.0";
|
version = "0.7.0";
|
||||||
|
@ -6,20 +7,17 @@ buildPythonPackage rec {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "GreenSteam";
|
owner = "GreenSteam";
|
||||||
repo = "pep257";
|
repo = "pep257";
|
||||||
rev = "0.7.0";
|
rev = version;
|
||||||
sha256 = "sha256-RkE9kkNkRTmZ8zJVwQzMsxU1hcjlxX6UA+ehnareynQ=";
|
sha256 = "sha256-RkE9kkNkRTmZ8zJVwQzMsxU1hcjlxX6UA+ehnareynQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest mock ];
|
checkInputs = [ pytestCheckHook mock ];
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
py.test
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/GreenSteam/pep257/";
|
homepage = "https://github.com/GreenSteam/pep257/";
|
||||||
description = "Python docstring style checker";
|
description = "Python docstring style checker";
|
||||||
longDescription = "Static analysis tool for checking compliance with Python PEP 257.";
|
longDescription = "Static analysis tool for checking compliance with Python PEP 257.";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue