Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Guix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ogs
inf
Guix
Commits
8dfceab7
Commit
8dfceab7
authored
9 years ago
by
Christine Lemmer-Webber
Browse files
Options
Downloads
Patches
Plain Diff
gnu: Add python-amqp.
* gnu/packages/python.scm (python-amqp, python2-amqp): New variables.
parent
4cb122cd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gnu/packages/python.scm
+38
-0
38 additions, 0 deletions
gnu/packages/python.scm
with
38 additions
and
0 deletions
gnu/packages/python.scm
+
38
−
0
View file @
8dfceab7
...
@@ -7897,3 +7897,41 @@ (define-public python2-anyjson
...
@@ -7897,3 +7897,41 @@ (define-public python2-anyjson
,@
(
package-arguments
anyjson
)))
,@
(
package-arguments
anyjson
)))
(
native-inputs
`
((
"python2-setuptools"
,
python2-setuptools
)
(
native-inputs
`
((
"python2-setuptools"
,
python2-setuptools
)
(
"python2-nose"
,
python2-nose
))))))
(
"python2-nose"
,
python2-nose
))))))
(
define-public
python-amqp
(
package
(
name
"python-amqp"
)
(
version
"1.4.9"
)
(
source
(
origin
(
method
url-fetch
)
(
uri
(
pypi-uri
"amqp"
version
))
(
sha256
(
base32
"06n6q0kxhjnbfz3vn8x9yz09lwmn1xi9d6wxp31h5jbks0b4vsid"
))))
(
build-system
python-build-system
)
(
native-inputs
`
((
"python-nose"
,
python-nose
)
(
"python-mock"
,
python-mock
)))
(
home-page
"http://github.com/celery/py-amqp"
)
(
synopsis
"Low-level AMQP client for Python (fork of amqplib)"
)
(
description
"This is a fork of amqplib which was originally written by Barry Pederson.
It is maintained by the Celery project, and used by kombu as a pure python
alternative when librabbitmq is not available."
)
(
license
lgpl2
.
1
+
)
(
properties
`
((
python2-variant
.
,
(
delay
python2-amqp
))))))
(
define-public
python2-amqp
(
let
((
amqp
(
package-with-python2
(
strip-python2-variant
python-amqp
))))
(
package
(
inherit
amqp
)
(
arguments
`
(
;; Tries to run coverage tests with nose-cover3, which seems
;; unmaintained. Weirdly, does not do this on the python 3
;; version?
#
:tests?
#f
,@
(
package-arguments
amqp
)))
(
native-inputs
`
((
"python2-setuptools"
,
python2-setuptools
)
,@
(
package-native-inputs
amqp
))))))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment