1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-25 18:46:32 +03:00
nixpkgs/pkgs/development/python-modules/restview/default.nix

46 lines
756 B
Nix
Raw Normal View History

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
, pytestCheckHook
, pythonOlder
2017-09-07 10:01:51 +02:00
}:
buildPythonPackage rec {
pname = "restview";
version = "3.0.0";
format = "setuptools";
2017-09-07 10:01:51 +02:00
disabled = pythonOlder "3.6";
2017-09-07 10:01:51 +02:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-K5iWEKrtL9Qtpk9s3FOc8+5wzjcLy6hy23JCGtUV3R4=";
2017-09-07 10:01:51 +02:00
};
propagatedBuildInputs = [
docutils
readme_renderer
packaging
pygments
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"restview"
];
2017-09-07 10:01:51 +02:00
meta = {
description = "ReStructuredText viewer";
homepage = "https://mg.pov.lt/restview/";
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
}