anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / mdformat-simple-breaks / default.nix
blobcaeb23a214f3cfd15d058018fe0308f30b14563a
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   flit-core,
6   mdformat,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "mdformat-simple-breaks";
12   version = "0.0.1";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "csala";
19     repo = pname;
20     rev = "refs/tags/v${version}";
21     hash = "sha256-4lJHB4r9lI2uGJ/BmFFc92sumTRKBBwiRmGBdQkzfd0=";
22   };
24   nativeBuildInputs = [ flit-core ];
26   propagatedBuildInputs = [ mdformat ];
28   pythonImportsCheck = [ "mdformat_simple_breaks" ];
30   meta = with lib; {
31     description = "Mdformat plugin to render thematic breaks using three dashes";
32     homepage = "https://github.com/csala/mdformat-simple-breaks";
33     license = licenses.mit;
34     maintainers = with maintainers; [ aldoborrero ];
35   };