about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/backup/gh2md/default.nix
blob: 035139b58022a984d0884aed3e6218f85389b7c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, python3Packages
, fetchPypi
}:

python3Packages.buildPythonApplication rec {
  pname = "gh2md";
  version = "2.3.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-B7IB1TWfZ0StH2zo/tXfDAaPlgLvr4ciIv7B8EQyp8w=";
  };

  propagatedBuildInputs = with python3Packages; [ six requests python-dateutil ];

  # uses network
  doCheck = false;

  pythonImportsCheck = [ "gh2md" ];

  meta = with lib; {
    description = "Export Github repository issues to markdown files";
    mainProgram = "gh2md";
    homepage = "https://github.com/mattduck/gh2md";
    license = licenses.mit;
    maintainers = with maintainers; [ artturin ];
  };
}