1{ lib
2, python3
3, fetchFromGitHub
4}:
5
6python3.pkgs.buildPythonPackage rec {
7 pname = "md-tangle";
8 version = "1.3.1";
9
10 # By some strange reason, fetchPypi fails miserably
11 src = fetchFromGitHub {
12 owner = "joakimmj";
13 repo = pname;
14 rev = "v${version}";
15 hash = "sha256-cUME2AHK/Fva+1TSTE6hNu0SE/V1FOwcSxWF0+iZhS4=";
16 };
17
18 # Pure Python application, uses only standard modules and comes without
19 # testing suite
20 doCheck = false;
21
22 meta = with lib;{
23 homepage = "https://github.com/joakimmj/md-tangle/";
24 description = "Generates (\"tangles\") source code from Markdown documents";
25 license = licenses.mit;
26 maintainers = with maintainers; [ AndersonTorres ];
27 };
28}