nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 45 lines 756 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, docutils 5, readme_renderer 6, packaging 7, pygments 8, pytestCheckHook 9, pythonOlder 10}: 11 12buildPythonPackage rec { 13 pname = "restview"; 14 version = "3.0.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.6"; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "sha256-K5iWEKrtL9Qtpk9s3FOc8+5wzjcLy6hy23JCGtUV3R4="; 22 }; 23 24 propagatedBuildInputs = [ 25 docutils 26 readme_renderer 27 packaging 28 pygments 29 ]; 30 31 checkInputs = [ 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ 36 "restview" 37 ]; 38 39 meta = { 40 description = "ReStructuredText viewer"; 41 homepage = "https://mg.pov.lt/restview/"; 42 license = lib.licenses.gpl3Only; 43 maintainers = with lib.maintainers; [ koral ]; 44 }; 45}