python312Packages.dash-renderer: remove (#369714)
[NixPkgs.git] / pkgs / development / python-modules / exdown / default.nix
blob9221ae0a16936b5beda3c28868937d7f552e6315
2   lib,
3   buildPythonPackage,
4   isPy27,
5   fetchPypi,
6   pythonOlder,
7   setuptools,
8   importlib-metadata,
9   pytestCheckHook,
12 buildPythonPackage rec {
13   pname = "exdown";
14   version = "0.9.0";
15   format = "pyproject";
17   disabled = isPy27;
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-r0SCigkUpOiba4MDf80+dLjOjjruVNILh/raWfvjXA0=";
22   };
24   nativeBuildInputs = [ setuptools ];
26   propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
28   nativeCheckInputs = [ pytestCheckHook ];
30   pythonImportsCheck = [ "exdown" ];
32   meta = with lib; {
33     description = "Extract code blocks from markdown";
34     homepage = "https://github.com/nschloe/exdown";
35     license = licenses.mit;
36     maintainers = [ ];
37   };