Files
nixpkgs/pkgs/development/python-modules/exdown/default.nix
T
2026-01-17 17:00:11 +01:00

36 lines
643 B
Nix

{
lib,
buildPythonPackage,
isPy27,
fetchPypi,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "exdown";
version = "0.9.0";
pyproject = true;
disabled = isPy27;
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-+IN+0P4SljUWxF01Ln9PgeFVA/+qGKFVoKMGluAuYDw=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "exdown" ];
meta = {
description = "Extract code blocks from markdown";
homepage = "https://github.com/nschloe/exdown";
license = lib.licenses.mit;
maintainers = [ ];
};
}