blob: 937e90250a86369b2afb03773c837173beecd308 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{ lib
, buildPythonPackage
, isPy27
, fetchPypi
, pythonOlder
, setuptools
, importlib-metadata
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "exdown";
version = "0.9.0";
format = "pyproject";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
hash = "sha256-r0SCigkUpOiba4MDf80+dLjOjjruVNILh/raWfvjXA0=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "exdown" ];
meta = with lib; {
description = "Extract code blocks from markdown";
homepage = "https://github.com/nschloe/exdown";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}
|