nixpkgs/pkgs/development/python-modules/markdown/default.nix

28 lines
582 B
Nix
Raw Normal View History

2017-12-31 11:41:24 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, nose
, pyyaml
}:
buildPythonPackage rec {
pname = "Markdown";
version = "2.6.10";
src = fetchPypi {
extension = "zip";
inherit pname version;
sha256 = "cfa536d1ee8984007fcecc5a38a493ff05c174cb74cb2341dafd175e6bc30851";
};
# error: invalid command 'test'
# doCheck = false;
checkInputs = [ nose pyyaml ];
meta = {
description = "A Python implementation of John Grubers Markdown with Extension support";
homepage = https://github.com/Python-Markdown/markdown;
license = lib.licenses.bsd3;
};
}