diff options
author | Oleg Pykhalov <go.wigust@gmail.com> | 2017-08-20 00:05:15 +0300 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-09-04 15:24:04 +0200 |
commit | 65101a2596aa6b9dce629c7efad7967e8818f204 (patch) | |
tree | bbdc20342b77bdf3e4043a06f6c68d88ad24e1f5 /gnu | |
parent | 632530989845d10a08babbe8339d01359a0fbce8 (diff) | |
download | guix-65101a2596aa6b9dce629c7efad7967e8818f204.tar.gz |
gnu: Add python-ghp-import.
* gnu/packages/version-control.scm (python-ghp-import, python2-ghp-import): New variables. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/version-control.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 0657df67a1..0dabb2daa0 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -552,6 +552,44 @@ collaboration using typical untrusted file hosts or services.") a built-in cache to decrease server I/O pressure.") (license license:gpl2))) +(define-public python-ghp-import + (package + (name "python-ghp-import") + (version "0.5.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/davisp/ghp-import/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0x887v690xsac2hzjkpbvp3a6crh3m08mqbk3nb4xwc9dnk869q7")))) + (build-system python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'install 'install-documentation + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (doc (string-append out "/share/doc")) + (licenses (string-append out "/share/licenses"))) + (install-file "README.md" doc) + (install-file "LICENSE" licenses))))))) + (home-page "https://github.com/davisp/ghp-import") + (synopsis "Copy directory to the gh-pages branch") + (description "Script that copies a directory to the gh-pages branch (by +default) of the repository.") + + ;; See <https://bugs.gnu.org/27913>. + (license (license:non-copyleft + "https://raw.githubusercontent.com/davisp/ghp-import/master/LICENSE" + "Tumbolia Public License")))) + +(define-public python2-ghp-import + (package-with-python2 + (strip-python2-variant python-ghp-import))) + (define-public shflags (package (name "shflags") |