mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
gnu: python2-radon: Fix build.
* gnu/packages/python-xyz.scm (python-radon)[properties]: New field. * gnu/packages/python-xyz.scm (python2-radon)[propagated-inputs]: Add PYTHON2-CONFIGPARSER and PYTHON2-FUTURE.
This commit is contained in:
parent
6006727974
commit
6bd7d4cb74
1 changed files with 8 additions and 1 deletions
|
@ -13459,10 +13459,17 @@ (define-public python-radon
|
|||
@item Halstead metrics (all of them)
|
||||
@item the Maintainability Index (a Visual Studio metric)
|
||||
@end itemize")
|
||||
(properties `((python2-variant . ,(delay python2-radon))))
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python2-radon
|
||||
(package-with-python2 python-radon))
|
||||
(let ((base (package-with-python2 (strip-python2-variant python-radon))))
|
||||
(package
|
||||
(inherit base)
|
||||
(propagated-inputs
|
||||
`(("python-configparser" ,python2-configparser)
|
||||
("python-future" ,python2-future)
|
||||
,@(package-propagated-inputs base))))))
|
||||
|
||||
(define-public python-sure
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue