2019-03-16 20:14:52 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python-markdown-math
|
|
|
|
, markdown
|
|
|
|
, docutils
|
|
|
|
, pygments
|
2021-05-09 00:14:07 +02:00
|
|
|
, pyyaml
|
2019-03-16 20:14:52 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Markups";
|
2021-03-24 10:28:17 +01:00
|
|
|
version = "3.1.1";
|
2019-03-16 20:14:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 10:28:17 +01:00
|
|
|
sha256 = "e309d79dde0935576ce1def6752f2127a12e2c2ea2ae8b0c69f99ff8bc12181d";
|
2019-03-16 20:14:52 +01:00
|
|
|
};
|
|
|
|
|
2021-05-09 00:14:07 +02:00
|
|
|
checkInputs = [ markdown docutils pygments pyyaml ];
|
2019-03-16 20:14:52 +01:00
|
|
|
propagatedBuildInputs = [ python-markdown-math ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A wrapper around various text markup languages.";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/retext-project/pymarkups";
|
2019-03-16 22:28:23 +01:00
|
|
|
license = lib.licenses.bsd3;
|
2019-03-16 20:14:52 +01:00
|
|
|
maintainers = with lib.maintainers; [ klntsky ];
|
|
|
|
};
|
|
|
|
}
|