Add python-gitlab
more/packages/python.scm
1271 | 1271 | (description | |
1272 | 1272 | "Tools and API for translation and localization engineering.") | |
1273 | 1273 | (license license:gpl2+))) | |
1274 | + | ||
1275 | + | (define-public python-httmock | |
1276 | + | (package | |
1277 | + | (name "python-httmock") | |
1278 | + | (version "1.3.0") | |
1279 | + | (source | |
1280 | + | (origin | |
1281 | + | (method url-fetch) | |
1282 | + | (uri (pypi-uri "httmock" version)) | |
1283 | + | (sha256 | |
1284 | + | (base32 | |
1285 | + | "1zj1fcm0n6f0wr9mr0hmlqz9430fnr5cdwd5jkcvq9j44bnsrfz0")))) | |
1286 | + | (build-system python-build-system) | |
1287 | + | (arguments | |
1288 | + | ;; Tests can't be run? | |
1289 | + | `(#:tests? #f)) | |
1290 | + | (propagated-inputs | |
1291 | + | `(("python-requests" ,python-requests))) | |
1292 | + | (home-page "https://github.com/patrys/httmock") | |
1293 | + | (synopsis "A mocking library for requests.") | |
1294 | + | (description "A mocking library for requests.") | |
1295 | + | (license license:asl2.0))) | |
1296 | + | ||
1297 | + | (define-public python-gitlab | |
1298 | + | (package | |
1299 | + | (name "python-gitlab") | |
1300 | + | (version "1.10.0") | |
1301 | + | (source | |
1302 | + | (origin | |
1303 | + | (method url-fetch) | |
1304 | + | (uri (pypi-uri "python-gitlab" version)) | |
1305 | + | (sha256 | |
1306 | + | (base32 | |
1307 | + | "0n2s4cmmrhx1yxpfa6xfkncairgrcvcmvhq2sx4k0k65cy9ipsf4")))) | |
1308 | + | (build-system python-build-system) | |
1309 | + | (propagated-inputs | |
1310 | + | `(("python-requests" ,python-requests) | |
1311 | + | ("python-six" ,python-six))) | |
1312 | + | (native-inputs | |
1313 | + | `(("python-httmock" ,python-httmock) | |
1314 | + | ("python-mock" ,python-mock))) | |
1315 | + | (home-page | |
1316 | + | "https://github.com/python-gitlab/python-gitlab") | |
1317 | + | (synopsis "Interact with GitLab API") | |
1318 | + | (description "Interact with GitLab API") | |
1319 | + | (license license:lgpl3+))) |