2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildPythonPackage, fetchurl, pytest, mock }:
|
2017-01-31 22:11:36 +01:00
|
|
|
buildPythonPackage rec {
|
2017-05-27 11:25:35 +02:00
|
|
|
pname = "pep257";
|
2017-01-31 22:11:36 +01:00
|
|
|
version = "0.7.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/GreenSteam/pep257/archive/${version}.tar.gz";
|
|
|
|
sha256 = "1ldpgil0kaf6wz5gvl9xdx35a62vc6bmgi3wbh9320dj5v2qk4wh";
|
|
|
|
};
|
|
|
|
|
2019-01-05 11:54:27 +01:00
|
|
|
checkInputs = [ pytest mock ];
|
2017-01-31 22:11:36 +01:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/GreenSteam/pep257/";
|
2017-01-31 22:11:36 +01:00
|
|
|
description = "Python docstring style checker";
|
|
|
|
longDescription = "Static analysis tool for checking compliance with Python PEP 257.";
|
2017-03-10 20:27:11 +01:00
|
|
|
license = licenses.mit;
|
2017-01-31 22:11:36 +01:00
|
|
|
};
|
|
|
|
}
|