lol
1{
2 lib,
3 python3,
4 fetchFromGitHub,
5}:
6
7python3.pkgs.buildPythonPackage rec {
8 pname = "md-tangle";
9 version = "1.4.4";
10 pyproject = true;
11
12 # By some strange reason, fetchPypi fails miserably
13 src = fetchFromGitHub {
14 owner = "joakimmj";
15 repo = "md-tangle";
16 tag = "v${version}";
17 hash = "sha256-PkOKSsyY8uwS4mhl0lB+KGeUvXfEc7PUDHZapHMYv4c=";
18 };
19
20 build-system = with python3.pkgs; [ setuptools ];
21
22 # Pure Python application, uses only standard modules and comes without
23 # testing suite
24 doCheck = false;
25
26 pythonImportsCheck = [ "md_tangle" ];
27
28 meta = with lib; {
29 homepage = "https://github.com/joakimmj/md-tangle/";
30 description = "Generates (\"tangles\") source code from Markdown documents";
31 mainProgram = "md-tangle";
32 license = licenses.mit;
33 maintainers = with maintainers; [ ];
34 };
35}