summaryrefslogtreecommitdiff
path: root/.guix-authorizations
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2022-05-22 10:56:01 +0200
committerLars-Dominik Braun <lars@6xq.net>2022-06-06 13:26:45 +0200
commitc3fbaee34548fbfb1617dc7fccc94c598efbd7a6 (patch)
tree14b60f9a29e543c9704ae27b3ed49765620a8983 /.guix-authorizations
parentf4763ec37df1aa03569ceff30192f5bf4bd736a8 (diff)
downloadguix-patches-c3fbaee34548fbfb1617dc7fccc94c598efbd7a6.tar
guix-patches-c3fbaee34548fbfb1617dc7fccc94c598efbd7a6.tar.gz
import: cabal: Support library names
* guix/import/cabal.scm (make-cabal-parser): Add name to section. (is-lib): Add optional name to regular expression. (lex-rx-res): Support selecting different substring. (lex-lib): Match 2nd substring from IS-LIB. (lex-line): Adapt to changes for lex-lib. (cabal-library): Add name field and export CABAL-LIBRARY-NAME. (eval): Remove special case for 'library, which is not required any more. (make-cabal-section): Move special case for LIBRARY. * tests/hackage.scm (test-read-cabal-library-name): New variable. ("read-cabal test 1"): Adapt testcase to changed internal structure. ("read-cabal test: library name"): New testcase.
Diffstat (limited to '.guix-authorizations')
0 files changed, 0 insertions, 0 deletions