Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 719 B view raw
1{ lib 2, fetchPypi 3, buildPythonPackage 4, pythonOlder 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "mistletoe"; 10 version = "1.0.1"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-sfia+weaGxpULp7ywI3UUKB6K9k1wDyrIsMorXyk2Og="; 18 }; 19 20 pythonImportsCheck = [ 21 "mistletoe" 22 ]; 23 24 nativeCheckInputs = [ 25 pytestCheckHook 26 ]; 27 28 meta = with lib; { 29 description = "Fast and extensible Markdown parser"; 30 homepage = "https://github.com/miyuchina/mistletoe"; 31 changelog = "https://github.com/miyuchina/mistletoe/releases/tag/v${version}"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ eadwu ]; 34 }; 35}