python3.pkgs.mistune: write derivation for mistune=2.0.0a4

This version is required for md2gemini program and is incompatible with
mistune=0.8.4
This commit is contained in:
Dmitry Bogatov
2021-04-08 11:32:22 +02:00
committed by Sandro Jäckel
parent 22fcc95daa
commit b233405aac
3 changed files with 30 additions and 20 deletions
@@ -0,0 +1,18 @@
{ lib, buildPythonPackage, fetchPypi, nose, version, sha256 }:
buildPythonPackage rec {
inherit version;
pname = "mistune";
src = fetchPypi {
inherit pname version sha256;
};
buildInputs = [ nose ];
meta = with lib; {
description = "The fastest markdown parser in pure Python";
homepage = "https://github.com/lepture/mistune";
license = licenses.bsd3;
};
}