md-tangle: init at 1.3.1

This commit is contained in:
AndersonTorres 2022-01-12 02:29:01 -03:00
parent cfa23c7bbb
commit b44d1e37c1
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonPackage rec {
pname = "md-tangle";
version = "1.3.1";
# By some strange reason, fetchPypi fails miserably
src = fetchFromGitHub {
owner = "joakimmj";
repo = pname;
rev = "v${version}";
hash = "sha256-cUME2AHK/Fva+1TSTE6hNu0SE/V1FOwcSxWF0+iZhS4=";
};
# Pure Python application, uses only standard modules and comes without
# testing suite
doCheck = false;
meta = with lib;{
homepage = "https://github.com/joakimmj/md-tangle/";
description = "Generates (\"tangles\") source code from Markdown documents";
license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres ];
};
}

View file

@ -14668,6 +14668,8 @@ with pkgs;
Literate = callPackage ../development/tools/literate-programming/Literate { };
md-tangle = callPackage ../development/tools/literate-programming/md-tangle { };
# NOTE: Override and set useIcon = false to use Awk instead of Icon.
noweb = callPackage ../development/tools/literate-programming/noweb { };