Add weblate dependencies
more/packages/python.scm
37 | 37 | #:use-module (gnu packages serialization) | |
38 | 38 | #:use-module (gnu packages time) | |
39 | 39 | #:use-module (gnu packages tls) | |
40 | + | #:use-module (gnu packages version-control) | |
40 | 41 | #:use-module (gnu packages web) | |
41 | 42 | #:use-module (guix packages) | |
42 | 43 | #:use-module (guix download) | |
… | |||
1140 | 1141 | (description | |
1141 | 1142 | "Securely transfer data between computers") | |
1142 | 1143 | (license license:expat))) | |
1144 | + | ||
1145 | + | (define-public python-pathlib2 | |
1146 | + | (package | |
1147 | + | (name "python-pathlib2") | |
1148 | + | (version "2.3.3") | |
1149 | + | (source | |
1150 | + | (origin | |
1151 | + | (method url-fetch) | |
1152 | + | (uri (pypi-uri "pathlib2" version)) | |
1153 | + | (sha256 | |
1154 | + | (base32 | |
1155 | + | "0hpp92vqqgcd8h92msm9slv161b1q160igjwnkf2ag6cx0c96695")))) | |
1156 | + | (build-system python-build-system) | |
1157 | + | (propagated-inputs | |
1158 | + | `(("python-scandir" ,python-scandir))) | |
1159 | + | (native-inputs | |
1160 | + | `(("python-six" ,python-six))) | |
1161 | + | (home-page | |
1162 | + | "https://pypi.python.org/pypi/pathlib2/") | |
1163 | + | (synopsis "Object-oriented filesystem paths") | |
1164 | + | (description "Object-oriented filesystem paths") | |
1165 | + | (license license:expat))) | |
1166 | + | ||
1167 | + | (define-public python-check-manifest | |
1168 | + | (package | |
1169 | + | (name "python-check-manifest") | |
1170 | + | (version "0.37") | |
1171 | + | (source | |
1172 | + | (origin | |
1173 | + | (method url-fetch) | |
1174 | + | (uri (pypi-uri "check-manifest" version)) | |
1175 | + | (sha256 | |
1176 | + | (base32 | |
1177 | + | "0lk45ifdv2cpkl6ayfyix7jwmnxa1rha7xvb0ih5999k115wzqs4")))) | |
1178 | + | (build-system python-build-system) | |
1179 | + | (native-inputs | |
1180 | + | `(("python-mock" ,python-mock) | |
1181 | + | ("git" ,git))) | |
1182 | + | (home-page | |
1183 | + | "https://github.com/mgedmin/check-manifest") | |
1184 | + | (synopsis | |
1185 | + | "Check MANIFEST.in in a Python source package for completeness") | |
1186 | + | (description | |
1187 | + | "Check MANIFEST.in in a Python source package for completeness") | |
1188 | + | (license license:expat))) | |
1189 | + | ||
1190 | + | (define-public python-codacy-coverage | |
1191 | + | (package | |
1192 | + | (name "python-codacy-coverage") | |
1193 | + | (version "1.3.11") | |
1194 | + | (source | |
1195 | + | (origin | |
1196 | + | (method url-fetch) | |
1197 | + | (uri (pypi-uri "codacy-coverage" version)) | |
1198 | + | (sha256 | |
1199 | + | (base32 | |
1200 | + | "1g0c0w56xdkmqb8slacyw5qhzrkp814ng3ddh2lkiij58y9m2imr")))) | |
1201 | + | (build-system python-build-system) | |
1202 | + | (arguments | |
1203 | + | ;; No tests | |
1204 | + | `(#:tests? #f)) | |
1205 | + | (propagated-inputs | |
1206 | + | `(("python-check-manifest" ,python-check-manifest))) | |
1207 | + | (home-page | |
1208 | + | "https://github.com/codacy/python-codacy-coverage") | |
1209 | + | (synopsis "Codacy coverage reporter for Python") | |
1210 | + | (description | |
1211 | + | "Codacy coverage reporter for Python") | |
1212 | + | (license license:expat))) | |
1213 | + | ||
1214 | + | (define-public python-translation-finder | |
1215 | + | (package | |
1216 | + | (name "python-translation-finder") | |
1217 | + | (version "1.0") | |
1218 | + | (source | |
1219 | + | (origin | |
1220 | + | (method url-fetch) | |
1221 | + | (uri (pypi-uri "translation-finder" version)) | |
1222 | + | (sha256 | |
1223 | + | (base32 | |
1224 | + | "1bldziyp0kn93g9gg0wjibpcjwg6xcp8zqwch7bnplg0zwxs1y8b")))) | |
1225 | + | (build-system python-build-system) | |
1226 | + | (propagated-inputs | |
1227 | + | `(("python-chardet" ,python-chardet) | |
1228 | + | ("python-pathlib2;" ,python-pathlib2) | |
1229 | + | ("python-six" ,python-six))) | |
1230 | + | (native-inputs | |
1231 | + | `(("python-codecov" ,python-codecov) | |
1232 | + | ("python-codacy-coverage" ,python-codacy-coverage) | |
1233 | + | ("python-pytest-cov" ,python-pytest-cov) | |
1234 | + | ("python-pytest-runner" ,python-pytest-runner) | |
1235 | + | ("python-twine" ,python-twine))) | |
1236 | + | (home-page "https://weblate.org/") | |
1237 | + | (synopsis | |
1238 | + | "A translation file finder for Weblate, translation tool with tight version control integration") | |
1239 | + | (description | |
1240 | + | "A translation file finder for Weblate, translation tool with tight version control integration") | |
1241 | + | (license license:gpl3+))) | |
1242 | + | ||
1243 | + | (define-public python-translate-toolkit | |
1244 | + | (package | |
1245 | + | (name "python-translate-toolkit") | |
1246 | + | (version "2.3.1") | |
1247 | + | (source | |
1248 | + | (origin | |
1249 | + | (method url-fetch) | |
1250 | + | (uri (pypi-uri "translate-toolkit" version)) | |
1251 | + | (sha256 | |
1252 | + | (base32 | |
1253 | + | "1fsfhqyhdwjbb0ljmkzaibjr3s7q7ipg776rwk14l9c7chvnn58x")))) | |
1254 | + | (build-system python-build-system) | |
1255 | + | (home-page "http://toolkit.translatehouse.org/") | |
1256 | + | (arguments | |
1257 | + | ;; Require old versions | |
1258 | + | `(#:tests? #f)) | |
1259 | + | (synopsis | |
1260 | + | "Tools and API for translation and localization engineering.") | |
1261 | + | (description | |
1262 | + | "Tools and API for translation and localization engineering.") | |
1263 | + | (license license:gpl2+))) |