depot/third_party/nixpkgs/pkgs/development/tools/literate-programming/md-tangle/default.nix
Default email 14910f5943 Project import generated by Copybara.
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
2022-01-13 15:06:32 -05:00

28 lines
701 B
Nix

{ 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 ];
};
}