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