offlate/guix.scm

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