nixpkgs/pkgs/development/python-modules/pydocstyle/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
766 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, isPy3k
, fetchFromGitHub
, snowballstemmer
, pytestCheckHook
}:
2018-01-19 16:22:37 +00:00
buildPythonPackage rec {
pname = "pydocstyle";
version = "6.1.1";
disabled = !isPy3k;
2018-01-19 16:22:37 +00:00
format = "setuptools";
src = fetchFromGitHub {
owner = "PyCQA";
repo = pname;
rev = version;
sha256 = "sha256-j0WMD2qKDdMaKG2FxrrM/O7zX4waJ1afaRPRv70djkE=";
2018-01-19 16:22:37 +00:00
};
propagatedBuildInputs = [
snowballstemmer
];
2018-01-19 16:22:37 +00:00
checkInputs = [
pytestCheckHook
];
2018-01-19 16:22:37 +00:00
disabledTestPaths = [
"src/tests/test_integration.py" # runs pip install
];
meta = with lib; {
2018-01-19 16:22:37 +00:00
description = "Python docstring style checker";
homepage = "https://github.com/PyCQA/pydocstyle";
2018-01-19 16:22:37 +00:00
license = licenses.mit;
maintainers = with maintainers; [ dzabraev ];
};
}