mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 13:53:24 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
32 lines
658 B
Nix
32 lines
658 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 = "CFFI binding for Hoedown, a markdown parsing library";
|
|
mainProgram = "misaka";
|
|
homepage = "https://misaka.61924.nl";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fgaz ];
|
|
};
|
|
}
|