mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +00:00
mdformat-tables: init at 0.4.1
This commit is contained in:
parent
ae56d8f191
commit
d72ad7d4db
42
pkgs/development/python-modules/mdformat-tables/default.nix
Normal file
42
pkgs/development/python-modules/mdformat-tables/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, mdformat
|
||||
, mdit-py-plugins
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mdformat-tables";
|
||||
version = "0.4.1";
|
||||
format = "flit";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "executablebooks";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Q61GmaRxjxJh9GjyR8QCZOH0njFUtAWihZ9lFQJ2nQQ=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
mdformat
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"mdformat_tables"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An mdformat plugin for rendering tables";
|
||||
homepage = "https://github.com/executablebooks/mdformat-tables";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ aldoborrero polarmutex ];
|
||||
};
|
||||
}
|
@ -6218,6 +6218,7 @@ self: super: with self; {
|
||||
mdformat-mkdocs = callPackage ../development/python-modules/mdformat-mkdocs { };
|
||||
mdformat-nix-alejandra = callPackage ../development/python-modules/mdformat-nix-alejandra { };
|
||||
mdformat-simple-breaks = callPackage ../development/python-modules/mdformat-simple-breaks { };
|
||||
mdformat-tables = callPackage ../development/python-modules/mdformat-tables { };
|
||||
|
||||
mdit-py-plugins = callPackage ../development/python-modules/mdit-py-plugins { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user