diff options
author | Artturin <Artturin@artturin.com> | 2022-02-04 20:30:20 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-02-05 17:24:12 -0800 |
commit | 26b798051619d70c6cdb7f80a8444b75df8224a4 (patch) | |
tree | 98952541cfa13e5ba99bd1a0de5d9cef6defbbd3 /pkgs/tools/backup | |
parent | 288d13bc7e444ea1e8f4edb1235989872cf317dd (diff) | |
download | nixpkgs-26b798051619d70c6cdb7f80a8444b75df8224a4.tar nixpkgs-26b798051619d70c6cdb7f80a8444b75df8224a4.tar.gz nixpkgs-26b798051619d70c6cdb7f80a8444b75df8224a4.tar.bz2 nixpkgs-26b798051619d70c6cdb7f80a8444b75df8224a4.tar.lz nixpkgs-26b798051619d70c6cdb7f80a8444b75df8224a4.tar.xz nixpkgs-26b798051619d70c6cdb7f80a8444b75df8224a4.tar.zst nixpkgs-26b798051619d70c6cdb7f80a8444b75df8224a4.zip |
gh2md: init at 2.0.0
useful to backup github issues and PRs
Diffstat (limited to 'pkgs/tools/backup')
-rw-r--r-- | pkgs/tools/backup/gh2md/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/backup/gh2md/default.nix b/pkgs/tools/backup/gh2md/default.nix new file mode 100644 index 00000000000..5306080aa6b --- /dev/null +++ b/pkgs/tools/backup/gh2md/default.nix @@ -0,0 +1,27 @@ +{ lib +, python3Packages +}: + +python3Packages.buildPythonApplication rec { + pname = "gh2md"; + version = "2.0.0"; + + src = python3Packages.fetchPypi { + inherit pname version; + sha256 = "7a277939d4781f4ca741eccb74fc70f0aa85811185da52219878129cba7f1d77"; + }; + + propagatedBuildInputs = with python3Packages; [ six requests python-dateutil ]; + + # uses network + doCheck = false; + + pythonImportsCheck = [ "gh2md" ]; + + meta = with lib; { + description = "Export Github repository issues to markdown files"; + homepage = "https://github.com/mattduck/gh2md"; + license = licenses.mit; + maintainers = with maintainers; [ artturin ]; + }; +} |