Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 flit-core, 6 mdformat, 7 mdit-py-plugins, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "mdformat-simple-breaks"; 13 version = "0.0.1"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "csala"; 20 repo = pname; 21 rev = "refs/tags/v${version}"; 22 hash = "sha256-4lJHB4r9lI2uGJ/BmFFc92sumTRKBBwiRmGBdQkzfd0="; 23 }; 24 25 nativeBuildInputs = [ flit-core ]; 26 27 propagatedBuildInputs = [ mdformat ]; 28 29 pythonImportsCheck = [ "mdformat_simple_breaks" ]; 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}