Files
nixpkgs/pkgs/development/python-modules/misaka/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

32 lines
656 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
cffi,
}:
buildPythonPackage rec {
pname = "misaka";
version = "2.1.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1mzc29wwyhyardclj1vg2xsfdibg2lzb7f1azjcxi580ama55wv2";
};
propagatedNativeBuildInputs = [ cffi ];
propagatedBuildInputs = [ cffi ];
# The tests require write access to $out
doCheck = false;
meta = {
description = "CFFI binding for Hoedown, a markdown parsing library";
mainProgram = "misaka";
homepage = "https://misaka.61924.nl";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fgaz ];
};
}