mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 14:33:22 +00:00
0215034f25
when they already rely on SRI hashes.
31 lines
577 B
Nix
31 lines
577 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, docutils
|
|
, nose
|
|
, testtools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "restructuredtext_lint";
|
|
version = "1.4.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-GyNcDJIjQatsUwOQiS656S+QubdQRgY+BHys+w8FDEU=";
|
|
};
|
|
|
|
nativeCheckInputs = [ nose testtools ];
|
|
propagatedBuildInputs = [ docutils ];
|
|
|
|
checkPhase = ''
|
|
nosetests --nocapture
|
|
'';
|
|
|
|
meta = {
|
|
description = "reStructuredText linter";
|
|
homepage = "https://github.com/twolfson/restructuredtext-lint";
|
|
license = lib.licenses.unlicense;
|
|
};
|
|
}
|