Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, mdformat 5, mdit-py-plugins 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "mdformat-simple-breaks"; 11 version = "0.0.1"; 12 format = "flit"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "csala"; 18 repo = pname; 19 rev = "refs/tags/v${version}"; 20 hash = "sha256-4lJHB4r9lI2uGJ/BmFFc92sumTRKBBwiRmGBdQkzfd0="; 21 }; 22 23 buildInputs = [ 24 mdformat 25 ]; 26 27 pythonImportsCheck = [ 28 "mdformat_simple_breaks" 29 ]; 30 31 meta = with lib; { 32 description = "mdformat plugin to render thematic breaks using three dashes"; 33 homepage = "https://github.com/csala/mdformat-simple-breaks"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ aldoborrero ]; 36 }; 37}