ocamlPackages.hxd: 0.3.2 -> 0.3.3 (#364231)
[NixPkgs.git] / pkgs / development / python-modules / mdformat-frontmatter / default.nix
blob85c054258d76db1e479b652d3e5cc545d6b3f570
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   flit-core,
6   mdformat,
7   mdit-py-plugins,
8   ruamel-yaml,
9   pythonOlder,
12 buildPythonPackage rec {
13   pname = "mdformat-frontmatter";
14   version = "2.0.8";
15   pyproject = true;
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "butler54";
21     repo = "mdformat-frontmatter";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-2heQw8LL/ILY36oItBeQq33qjVBGT51qGG4CcCEDutA=";
24   };
26   nativeBuildInputs = [ flit-core ];
28   propagatedBuildInputs = [
29     mdformat
30     mdit-py-plugins
31     ruamel-yaml
32   ];
34   pythonImportsCheck = [ "mdformat_frontmatter" ];
36   meta = with lib; {
37     description = "Mdformat plugin to ensure frontmatter is respected";
38     homepage = "https://github.com/butler54/mdformat-frontmatter";
39     changelog = "https://github.com/butler54/mdformat-frontmatter/blob/v{version}/CHANGELOG.md";
40     license = licenses.mit;
41     maintainers = with maintainers; [
42       aldoborrero
43       polarmutex
44     ];
45   };