3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/mistletoe/default.nix
Fabian Affolter 2c68314eb1
python310Packages.mistletoe: add changelog to meta
- add pythonImportsCheck
2023-01-18 15:43:15 +01:00

31 lines
651 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
}:
buildPythonPackage rec {
pname = "mistletoe";
version = "1.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-+g6cV+IFDP1orjBOT5xeHmk1dMxf2DI9szRSlJ1oJmE=";
};
pythonImportsCheck = [
"mistletoe"
];
meta = with lib; {
description = "Fast and extensible Markdown parser";
homepage = "https://github.com/miyuchina/mistletoe";
changelog = "https://github.com/miyuchina/mistletoe/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ eadwu ];
};
}