python.pkgs.restructuredtext_lint: init at 1.1.1

This commit is contained in:
Frederik Rietdijk 2017-09-02 10:33:46 +02:00
parent ed75ce39a6
commit 5412ea35e4
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, docutils
, nose
, stdenv
, flake8
, pyyaml
, testtools
}:
buildPythonPackage rec {
pname = "restructuredtext_lint";
version = "1.1.1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "167e8adaa5bdc30531ee91760d6c216b306a8a3372aad34b1f72d8adcc5e011e";
};
checkInputs = [ nose flake8 pyyaml testtools ];
propagatedBuildInputs = [ docutils ];
checkPhase = ''
${stdenv.shell} test.sh
'';
meta = {
description = "reStructuredText linter";
homepage = https://github.com/twolfson/restructuredtext-lint;
license = lib.licenses.unlicense;
};
}

View File

@ -19670,6 +19670,8 @@ in {
}; };
}; };
restructuredtext_lint = callPackage ../development/python-modules/restructuredtext_lint { };
robomachine = buildPythonPackage rec { robomachine = buildPythonPackage rec {
name = "robomachine-0.6"; name = "robomachine-0.6";