python39Packages.pep257: cleanup
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pytest, mock }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pep257";
|
||||
version = "0.7.0";
|
||||
@@ -6,20 +7,17 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "GreenSteam";
|
||||
repo = "pep257";
|
||||
rev = "0.7.0";
|
||||
rev = version;
|
||||
sha256 = "sha256-RkE9kkNkRTmZ8zJVwQzMsxU1hcjlxX6UA+ehnareynQ=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
checkInputs = [ pytestCheckHook mock ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/GreenSteam/pep257/";
|
||||
description = "Python docstring style checker";
|
||||
longDescription = "Static analysis tool for checking compliance with Python PEP 257.";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user