depot/third_party/nixpkgs/pkgs/development/python-modules/mdformat-simple-breaks/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

36 lines
792 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
mdformat,
pythonOlder,
}:
buildPythonPackage rec {
pname = "mdformat-simple-breaks";
version = "0.0.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "csala";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-4lJHB4r9lI2uGJ/BmFFc92sumTRKBBwiRmGBdQkzfd0=";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ mdformat ];
pythonImportsCheck = [ "mdformat_simple_breaks" ];
meta = with lib; {
description = "Mdformat plugin to render thematic breaks using three dashes";
homepage = "https://github.com/csala/mdformat-simple-breaks";
license = licenses.mit;
maintainers = with maintainers; [ aldoborrero ];
};
}