Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
825 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonPackage rec {
pname = "md-tangle";
version = "1.4.4";
pyproject = true;
# By some strange reason, fetchPypi fails miserably
src = fetchFromGitHub {
owner = "joakimmj";
repo = "md-tangle";
tag = "v${version}";
hash = "sha256-PkOKSsyY8uwS4mhl0lB+KGeUvXfEc7PUDHZapHMYv4c=";
};
build-system = with python3.pkgs; [ setuptools ];
# Pure Python application, uses only standard modules and comes without
# testing suite
doCheck = false;
pythonImportsCheck = [ "md_tangle" ];
meta = with lib; {
homepage = "https://github.com/joakimmj/md-tangle/";
description = "Generates (\"tangles\") source code from Markdown documents";
mainProgram = "md-tangle";
license = licenses.mit;
maintainers = [ ];
};
}