nixpkgs/pkgs/development/python-modules/misaka/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

26 lines
623 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 = with lib; {
description = "A CFFI binding for Hoedown, a markdown parsing library";
homepage = "https://misaka.61924.nl";
license = licenses.mit;
maintainers = with maintainers; [ fgaz ];
};
}