guix.scm
1 | (use-modules |
2 | ((guix licenses) #:prefix license:) |
3 | (guix build-system python) |
4 | (guix download) |
5 | (guix git-download) |
6 | (guix packages) |
7 | (guix utils) |
8 | (gnu packages aspell) |
9 | (gnu packages check) |
10 | (gnu packages enchant) |
11 | (gnu packages libreoffice) |
12 | (gnu packages python-web) |
13 | (gnu packages python-xyz) |
14 | (gnu packages qt) |
15 | (gnu packages serialization) |
16 | (gnu packages time) |
17 | (gnu packages version-control)) |
18 | |
19 | (define-public offlate |
20 | (package |
21 | (name "offlate") |
22 | (version "0.5") |
23 | (source |
24 | (origin |
25 | (method git-fetch) |
26 | (uri (git-reference |
27 | (url "https://framagit.org/tyreunom/offlate") |
28 | (commit version))) |
29 | (file-name (git-file-name name version)) |
30 | (sha256 |
31 | (base32 |
32 | "13pqnbl05wcyldfvl75fp89vjgwsvxyc69vhnb17kkha2rc2k1h7")))) |
33 | (build-system python-build-system) |
34 | (arguments |
35 | ;; No tests |
36 | `(#:tests? #f)) |
37 | (propagated-inputs |
38 | `(("python-android-stringslib" ,python-android-stringslib) |
39 | ("python-dateutil" ,python-dateutil) |
40 | ("python-gitlab" ,python-gitlab) |
41 | ("python-lxml" ,python-lxml) |
42 | ("python-polib" ,python-polib) |
43 | ("python-pyenchant" ,python-pyenchant) |
44 | ("python-pygit2" ,python-pygit2) |
45 | ("python-pygithub" ,python-pygithub) |
46 | ("python-pyqt" ,python-pyqt) |
47 | ("python-requests" ,python-requests) |
48 | ("python-ruamel.yaml" ,python-ruamel.yaml) |
49 | ("python-translation-finder" ,python-translation-finder) |
50 | ("python-watchdog" ,python-watchdog))) |
51 | (native-inputs |
52 | `(("fontforge" ,fontforge) |
53 | ("qttools" ,qttools))) |
54 | (home-page "https://framagit.org/tyreunom/offlate") |
55 | (synopsis "Offline translation interface for online translation tools") |
56 | (description "Offlate offers a unified interface for different translation |
57 | file formats, as well as many different online translation platforms. You can |
58 | use it to get work from online platforms, specialized such as the Translation |
59 | Project, or not such a gitlab instance when your upstream doesn't use any |
60 | dedicated platform. The tool proposes a unified interface for any format and |
61 | an upload option to send your work back to the platform.") |
62 | (license license:gpl3+))) |
63 |