nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 43 lines 843 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, markdown-it-py 6, pytest-regressions 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "mdit-py-plugins"; 12 version = "0.3.0"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.6"; 16 17 src = fetchFromGitHub { 18 owner = "executablebooks"; 19 repo = pname; 20 rev = "v${version}"; 21 sha256 = "sha256-3zFSTjqwjUV6+fU6falYbIzj/Hp7E/9EXKZIi00tkg4="; 22 }; 23 24 propagatedBuildInputs = [ 25 markdown-it-py 26 ]; 27 28 checkInputs = [ 29 pytestCheckHook 30 pytest-regressions 31 ]; 32 33 pythonImportsCheck = [ 34 "mdit_py_plugins" 35 ]; 36 37 meta = with lib; { 38 description = "Collection of core plugins for markdown-it-py"; 39 homepage = "https://github.com/executablebooks/mdit-py-plugins"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ AluisioASG ]; 42 }; 43}