depot/third_party/nixpkgs/pkgs/development/python-modules/misaka/default.nix

26 lines
623 B
Nix
Raw Normal View History

{ 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 ];
};
}