Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / mdformat-simple-breaks / default.nix
blob9bff43e4d402cb6583c50bb9c448fcb51ec30e4a
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , flit-core
5 , mdformat
6 , mdit-py-plugins
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 = [
25     flit-core
26   ];
28   propagatedBuildInputs = [
29     mdformat
30   ];
32   pythonImportsCheck = [
33     "mdformat_simple_breaks"
34   ];
36   meta = with lib; {
37     description = "Mdformat plugin to render thematic breaks using three dashes";
38     homepage = "https://github.com/csala/mdformat-simple-breaks";
39     license = licenses.mit;
40     maintainers = with maintainers; [ aldoborrero ];
41   };