2017-09-07 10:01:51 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, docutils
|
|
|
|
, readme_renderer
|
2020-06-08 12:23:52 -07:00
|
|
|
, packaging
|
2017-09-07 10:01:51 +02:00
|
|
|
, pygments
|
2021-03-23 17:24:20 -04:00
|
|
|
, pytestCheckHook
|
2022-01-14 01:20:32 +01:00
|
|
|
, pythonOlder
|
2017-09-07 10:01:51 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "restview";
|
2022-01-14 01:20:32 +01:00
|
|
|
version = "3.0.0";
|
2022-01-02 01:09:29 +01:00
|
|
|
format = "setuptools";
|
2017-09-07 10:01:51 +02:00
|
|
|
|
2022-01-14 01:20:32 +01:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
2017-09-07 10:01:51 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-14 01:20:32 +01:00
|
|
|
sha256 = "sha256-K5iWEKrtL9Qtpk9s3FOc8+5wzjcLy6hy23JCGtUV3R4=";
|
2017-09-07 10:01:51 +02:00
|
|
|
};
|
|
|
|
|
2022-01-02 01:09:29 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
docutils
|
|
|
|
readme_renderer
|
|
|
|
packaging
|
|
|
|
pygments
|
2018-09-13 11:21:19 +02:00
|
|
|
];
|
|
|
|
|
2022-01-02 01:09:29 +01:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"restview"
|
|
|
|
];
|
2017-09-07 10:01:51 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "ReStructuredText viewer";
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://mg.pov.lt/restview/";
|
2021-03-23 17:24:20 -04:00
|
|
|
license = lib.licenses.gpl3Only;
|
2017-09-07 10:01:51 +02:00
|
|
|
maintainers = with lib.maintainers; [ koral ];
|
|
|
|
};
|
2018-06-27 13:12:57 -07:00
|
|
|
}
|