2022-02-10 20:34:41 +00:00
|
|
|
{ lib
|
|
|
|
, python3Packages
|
2023-07-15 17:15:38 +00:00
|
|
|
, fetchPypi
|
2022-02-10 20:34:41 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "gh2md";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "2.3.1";
|
2022-02-10 20:34:41 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchPypi {
|
2022-02-10 20:34:41 +00:00
|
|
|
inherit pname version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-B7IB1TWfZ0StH2zo/tXfDAaPlgLvr4ciIv7B8EQyp8w=";
|
2022-02-10 20:34:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [ six requests python-dateutil ];
|
|
|
|
|
|
|
|
# uses network
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "gh2md" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Export Github repository issues to markdown files";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "gh2md";
|
2022-02-10 20:34:41 +00:00
|
|
|
homepage = "https://github.com/mattduck/gh2md";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ artturin ];
|
|
|
|
};
|
|
|
|
}
|