nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildPythonPackage, fetchPypi, nose, version, sha256, format ? "setuptools" }:
2
3buildPythonPackage rec {
4 inherit version format;
5 pname = "mistune";
6
7 src = fetchPypi {
8 inherit pname version sha256;
9 };
10
11 buildInputs = [ nose ];
12 pythonImportsCheck = [ "mistune" ];
13
14 meta = with lib; {
15 description = "The fastest markdown parser in pure Python";
16 homepage = "https://github.com/lepture/mistune";
17 license = licenses.bsd3;
18 };
19}