rekahsoft-gnu: Apply `guix style` across all files

This commit is contained in:
Collin J. Doering 2023-02-28 15:26:39 -05:00
parent 29545105c6
commit 7f76749c07
Signed by: rekahsoft
GPG Key ID: 7B4DEB93212B3022
9 changed files with 1878 additions and 1915 deletions

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,8 @@
;;; <http://www.gnu.org/licenses/>.
(define-module (rekahsoft-gnu packages golang)
#:use-module ((guix licenses) #:prefix license:)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (guix utils)
#:use-module (guix download)
#:use-module (guix git-download)
@ -39,6 +40,7 @@
#:use-module (gnu packages password-utils)
#:use-module (gnu packages lua)
#:use-module (gnu packages mp3)
#:use-module (gnu packages tmux)
#:use-module (gnu packages textutils)
#:use-module (gnu packages tls)
#:use-module (ice-9 match)
@ -107,17 +109,42 @@ platforms. Gox will also build the cross-compilation toolchain for you.")
(base32
"169mkkw1cff1px6326krwvfpfj07sb4y5rbn003gi4bk176h6ry9"))))
(build-system go-build-system)
(native-inputs
`(("go-github-com-jmespath-go-jmespath" ,go-github-com-jmespath-go-jmespath)))
(native-inputs `(("go-github-com-jmespath-go-jmespath" ,go-github-com-jmespath-go-jmespath)))
(arguments
'(#:import-path "github.com/aws/aws-sdk-go"
#:phases %standard-phases))
(synopsis "aws-sdk-go is the official AWS SDK for the Go programming language")
(synopsis
"aws-sdk-go is the official AWS SDK for the Go programming language")
(description
"aws-sdk-go is the official AWS SDK for the Go programming language.")
(home-page "https://github.com/aws/aws-sdk-go")
(license license:asl2.0)))
(define-public go-github-com-darthsim-overmind
(package
(name "go-github-com-darthsim-overmind")
(version "1.2.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/DarthSim/overmind")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"11ws9rsy8ladjp1y3b6vva9sjmw4s24xc1w18lyhfz63xc908nfw"))))
(build-system go-build-system)
(propagated-inputs (list tmux))
(arguments
'(#:import-path "github.com/DarthSim/overmind"))
(home-page "https://github.com/DarthSim/overmind")
(synopsis "Overmind, a process manager for Procfile-based applications")
(description
"Overmind is a process manager for Procfile-based applications and
@url{https://tmux.github.io/,tmux}. With Overmind, you can easily run several
processes from your @code{Procfile} in a single terminal.")
(license license:expat)))
;; TODO: this package is not yet complete, but was accidentally
;; committed. Commenting it out until it is completed.
;;

View File

@ -18,7 +18,8 @@
;; Date: Dec 22, 2021
(define-module (rekahsoft-gnu packages haskell-apps)
#:use-module ((guix licenses) #:prefix license:)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (gnu packages)
#:use-module (guix packages)
#:use-module (guix download)
@ -127,7 +128,7 @@ a drawing function and the library does the rest. To get started, see:
(inputs (list ghc-ansi-terminal
ghc-async
ghc-breakpoint
ghc-brick ; note: fails to compile with brick@{1.5,1.6}
ghc-brick ;note: fails to compile with brick@{1.5,1.6}
ghc-cmdargs
ghc-data-default
ghc-doclayout
@ -161,17 +162,17 @@ Plain Text Accounting. Read more at: <https://hledger.org>")
(package
(name "ghc-js-dgtable")
(version "0.5.2")
(source
(origin
(method url-fetch)
(uri (hackage-uri "js-dgtable" version))
(sha256
(base32 "1b10kx703kbkb5q1ggdpqcrxqjb33kh24khk21rb30w0xrdxd3g2"))))
(source (origin
(method url-fetch)
(uri (hackage-uri "js-dgtable" version))
(sha256
(base32
"1b10kx703kbkb5q1ggdpqcrxqjb33kh24khk21rb30w0xrdxd3g2"))))
(build-system haskell-build-system)
(home-page "https://github.com/ndmitchell/js-dgtable#readme")
(synopsis "Obtain minified jquery.dgtable code")
(description
"This package bundles the minified <https://github.com/danielgindi/jquery.dgtable
"This package bundles the minified <https://github.com/danielgindi/jquery.dgtable
jquery.dgtable> code into a Haskell package, so it can be depended upon by Cabal
packages. The first three components of the version number match the upstream
jquery.dgtable version. The package is designed to meet the redistribution
@ -182,17 +183,17 @@ requirements of downstream users (e.g. Debian).")
(package
(name "ghc-heaps")
(version "0.4")
(source
(origin
(method url-fetch)
(uri (hackage-uri "heaps" version))
(sha256
(base32 "1zbw0qrlnhb42v04phzwmizbpwg21wnpl7p4fbr9xsasp7w9scl9"))))
(source (origin
(method url-fetch)
(uri (hackage-uri "heaps" version))
(sha256
(base32
"1zbw0qrlnhb42v04phzwmizbpwg21wnpl7p4fbr9xsasp7w9scl9"))))
(build-system haskell-build-system)
(home-page "http://github.com/ekmett/heaps/")
(synopsis "Asymptotically optimal Brodal/Okasaki heaps.")
(description
"Asymptotically optimal Brodal\\/Okasaki bootstrapped skew-binomial heaps from the
"Asymptotically optimal Brodal\\/Okasaki bootstrapped skew-binomial heaps from the
paper <http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.48.973 \"Optimal
Purely Functional Priority Queues\">, extended with a 'Foldable' interface.")
(license license:bsd-3)))
@ -202,26 +203,25 @@ Purely Functional Priority Queues\">, extended with a 'Foldable' interface.")
(package
(name "ghc-shake")
(version "0.19.6")
(source
(origin
(method url-fetch)
(uri (hackage-uri "shake" version))
(sha256
(base32 "0hnm3h1ni4jq73a7b7yxhbg9wm8mrjda5kmkpnmclynnpwvvi7bx"))))
(source (origin
(method url-fetch)
(uri (hackage-uri "shake" version))
(sha256
(base32
"0hnm3h1ni4jq73a7b7yxhbg9wm8mrjda5kmkpnmclynnpwvvi7bx"))))
(build-system haskell-build-system)
(inputs
(list ghc-extra
ghc-filepattern
ghc-hashable
ghc-heaps
ghc-js-dgtable
ghc-js-flot
ghc-js-jquery
ghc-primitive
ghc-random
ghc-unordered-containers
ghc-utf8-string
ghc-semigroups))
(inputs (list ghc-extra
ghc-filepattern
ghc-hashable
ghc-heaps
ghc-js-dgtable
ghc-js-flot
ghc-js-jquery
ghc-primitive
ghc-random
ghc-unordered-containers
ghc-utf8-string
ghc-semigroups))
(native-inputs (list ghc-quickcheck))
;; fixme: tests currently fail. Current guess: /bin/sh is used to run
;; commands (in 'src/Development/Shake/Command.hs#L164') which is somehow
@ -230,9 +230,9 @@ Purely Functional Priority Queues\">, extended with a 'Foldable' interface.")
`(#:tests? #f))
(home-page "https://shakebuild.com")
(synopsis
"Build system library, like Make, but more accurate dependencies.")
"Build system library, like Make, but more accurate dependencies.")
(description
"Shake is a Haskell library for writing build systems - designed as a replacement
"Shake is a Haskell library for writing build systems - designed as a replacement
for @make@. See \"Development.Shake\" for an introduction, including an example.
The homepage contains links to a user manual, an academic paper and further
information: <https://shakebuild.com> . To use Shake the user writes a Haskell

View File

@ -18,7 +18,8 @@
;; Date: Nov 24, 2021
(define-module (rekahsoft-gnu packages haskell-web)
#:use-module ((guix licenses) #:prefix license:)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (gnu packages)
#:use-module (guix packages)
#:use-module (guix download)
@ -35,99 +36,94 @@
(package
(name "ghc-lrucache")
(version "1.2.0.1")
(source
(origin
(method url-fetch)
(uri (string-append
"https://hackage.haskell.org/package/lrucache/lrucache-"
version
".tar.gz"))
(sha256
(base32 "11avhnjnb89rvn2s41jhh5r40zgp7r6kb5c0hcfiibpabqvv46pw"))))
(source (origin
(method url-fetch)
(uri (string-append
"https://hackage.haskell.org/package/lrucache/lrucache-"
version ".tar.gz"))
(sha256
(base32
"11avhnjnb89rvn2s41jhh5r40zgp7r6kb5c0hcfiibpabqvv46pw"))))
(build-system haskell-build-system)
(inputs `(("ghc-contravariant" ,ghc-contravariant)))
(home-page "http://github.com/chowells79/lrucache")
(synopsis "a simple, pure LRU cache")
(description
"This package contains a simple, pure LRU cache, implemented in terms of \"Data.Map\". . It also contains a mutable IO wrapper providing atomic updates to an LRU cache.")
"This package contains a simple, pure LRU cache, implemented in terms of \"Data.Map\". . It also contains a mutable IO wrapper providing atomic updates to an LRU cache.")
(license license:bsd-3)))
(define-public ghc-hakyll
(package
(name "ghc-hakyll")
(version "4.15.1.0")
(source
(origin
(method url-fetch)
(uri (string-append
"https://hackage.haskell.org/package/hakyll/hakyll-"
version
".tar.gz"))
(sha256
(base32 "18nhpnhi63xvmb14khw1ad8rwj2lxdyhpc58gnmr9vb5zz2db6bh"))))
(source (origin
(method url-fetch)
(uri (string-append
"https://hackage.haskell.org/package/hakyll/hakyll-"
version ".tar.gz"))
(sha256
(base32
"18nhpnhi63xvmb14khw1ad8rwj2lxdyhpc58gnmr9vb5zz2db6bh"))))
(build-system haskell-build-system)
(inputs
`(("ghc-aeson" ,ghc-aeson)
("ghc-blaze-html" ,ghc-blaze-html)
("ghc-blaze-markup" ,ghc-blaze-markup)
("ghc-data-default" ,ghc-data-default)
("ghc-file-embed" ,ghc-file-embed)
("ghc-hashable" ,ghc-hashable)
("ghc-lifted-async" ,ghc-lifted-async)
("ghc-lrucache" ,ghc-lrucache)
("ghc-network-uri" ,ghc-network-uri)
("ghc-optparse-applicative" ,ghc-optparse-applicative)
("ghc-random" ,ghc-random)
("ghc-regex-tdfa" ,ghc-regex-tdfa)
("ghc-resourcet" ,ghc-resourcet)
("ghc-scientific" ,ghc-scientific)
("ghc-tagsoup" ,ghc-tagsoup)
("ghc-time-locale-compat" ,ghc-time-locale-compat)
("ghc-unordered-containers" ,ghc-unordered-containers)
("ghc-vector" ,ghc-vector)
("ghc-yaml" ,ghc-yaml)
("ghc-wai" ,ghc-wai)
("ghc-warp" ,ghc-warp)
("ghc-wai-app-static" ,ghc-wai-app-static)
("ghc-http-types" ,ghc-http-types)
("ghc-fsnotify" ,ghc-fsnotify)
("ghc-http-conduit" ,ghc-http-conduit)
("ghc-pandoc" ,ghc-pandoc)))
(native-inputs
`(("ghc-quickcheck" ,ghc-quickcheck)
("ghc-tasty" ,ghc-tasty)
("ghc-tasty-golden" ,ghc-tasty-golden)
("ghc-tasty-hunit" ,ghc-tasty-hunit)
("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
;; "rev" program used during tests from util-linux
("util-linux" ,util-linux)))
(inputs `(("ghc-aeson" ,ghc-aeson)
("ghc-blaze-html" ,ghc-blaze-html)
("ghc-blaze-markup" ,ghc-blaze-markup)
("ghc-data-default" ,ghc-data-default)
("ghc-file-embed" ,ghc-file-embed)
("ghc-hashable" ,ghc-hashable)
("ghc-lifted-async" ,ghc-lifted-async)
("ghc-lrucache" ,ghc-lrucache)
("ghc-network-uri" ,ghc-network-uri)
("ghc-optparse-applicative" ,ghc-optparse-applicative)
("ghc-random" ,ghc-random)
("ghc-regex-tdfa" ,ghc-regex-tdfa)
("ghc-resourcet" ,ghc-resourcet)
("ghc-scientific" ,ghc-scientific)
("ghc-tagsoup" ,ghc-tagsoup)
("ghc-time-locale-compat" ,ghc-time-locale-compat)
("ghc-unordered-containers" ,ghc-unordered-containers)
("ghc-vector" ,ghc-vector)
("ghc-yaml" ,ghc-yaml)
("ghc-wai" ,ghc-wai)
("ghc-warp" ,ghc-warp)
("ghc-wai-app-static" ,ghc-wai-app-static)
("ghc-http-types" ,ghc-http-types)
("ghc-fsnotify" ,ghc-fsnotify)
("ghc-http-conduit" ,ghc-http-conduit)
("ghc-pandoc" ,ghc-pandoc)))
(native-inputs `(("ghc-quickcheck" ,ghc-quickcheck)
("ghc-tasty" ,ghc-tasty)
("ghc-tasty-golden" ,ghc-tasty-golden)
("ghc-tasty-hunit" ,ghc-tasty-hunit)
("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
;; "rev" program used during tests from util-linux
("util-linux" ,util-linux)))
(arguments
`(#:cabal-revision
("1" "1kxdvh7250nvfdz5wnchyqhghhp05i06sfnjg9ar17p0wyqzv46z")))
`(#:cabal-revision ("1"
"1kxdvh7250nvfdz5wnchyqhghhp05i06sfnjg9ar17p0wyqzv46z")))
(home-page "http://jaspervdj.be/hakyll")
(synopsis "A static website compiler library")
(description
"Hakyll is a static website compiler library. It provides you with the tools to create a simple or advanced static website using a Haskell DSL and formats such as markdown or RST. You can find more information, including a tutorial, on the website: . * <http://jaspervdj.be/hakyll> . If you seek assistance, there's: . * A google group: <http://groups.google.com/group/hakyll> . * An IRC channel, @#hakyll@ on irc.libera.chat (we *do not* have a channel on Freenode anymore) . Additionally, there's the Haddock documentation in the different modules, meant as a reference.")
"Hakyll is a static website compiler library. It provides you with the tools to create a simple or advanced static website using a Haskell DSL and formats such as markdown or RST. You can find more information, including a tutorial, on the website: . * <http://jaspervdj.be/hakyll> . If you seek assistance, there's: . * A google group: <http://groups.google.com/group/hakyll> . * An IRC channel, @#hakyll@ on irc.libera.chat (we *do not* have a channel on Freenode anymore) . Additionally, there's the Haddock documentation in the different modules, meant as a reference.")
(license license:bsd-3)))
(define-public ghc-clay
(package
(name "ghc-clay")
(version "0.13.3")
(source
(origin
(method url-fetch)
(uri (string-append
"https://hackage.haskell.org/package/clay/clay-"
version
".tar.gz"))
(sha256
(base32 "192lsbyj6azjs2ygpx4i47fyr8zfmvwcas8mia07ndqglk2c9csx"))))
(source (origin
(method url-fetch)
(uri (string-append
"https://hackage.haskell.org/package/clay/clay-" version
".tar.gz"))
(sha256
(base32
"192lsbyj6azjs2ygpx4i47fyr8zfmvwcas8mia07ndqglk2c9csx"))))
(build-system haskell-build-system)
(native-inputs
`(("ghc-hspec" ,ghc-hspec) ("ghc-hspec-discover" ,ghc-hspec-discover)))
(native-inputs `(("ghc-hspec" ,ghc-hspec)
("ghc-hspec-discover" ,ghc-hspec-discover)))
(home-page "http://fvisser.nl/clay")
(synopsis "CSS preprocessor as embedded Haskell.")
(description
"Clay is a CSS preprocessor like LESS and Sass, but implemented as an embedded domain specific language (EDSL) in Haskell. This means that all CSS selectors and style rules are first class Haskell functions, which makes reuse and composability easy. . The project is described on <http://fvisser.nl/clay>. . The API documentation can be found in the top level module \"Clay\".")
"Clay is a CSS preprocessor like LESS and Sass, but implemented as an embedded domain specific language (EDSL) in Haskell. This means that all CSS selectors and style rules are first class Haskell functions, which makes reuse and composability easy. . The project is described on <http://fvisser.nl/clay>. . The API documentation can be found in the top level module \"Clay\".")
(license license:bsd-3)))

View File

@ -19,7 +19,8 @@
(define-module (rekahsoft-gnu packages perl)
#:use-module (srfi srfi-1)
#:use-module ((guix licenses) #:prefix license:)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
@ -40,15 +41,14 @@
(package
(name "perl-ntlm")
(version "1.09")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/N/NB/NBEBOUT/NTLM-"
version
".tar.gz"))
(sha256
(base32 "118z2n9qhjalfj7l9hhpjppyxdg2c34h4hsqdriibg3nv86f68y8"))))
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/N/NB/NBEBOUT/NTLM-" version
".tar.gz"))
(sha256
(base32
"118z2n9qhjalfj7l9hhpjppyxdg2c34h4hsqdriibg3nv86f68y8"))))
(build-system perl-build-system)
(propagated-inputs `(("perl-digest-hmac" ,perl-digest-hmac)))
(home-page "https://metacpan.org/release/NTLM")
@ -58,37 +58,35 @@
(define-public perl-encode-imaputf7
(package
(name "perl-encode-imaputf7")
(version "1.05")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/P/PM/PMAKHOLM/Encode-IMAPUTF7-"
version
".tar.gz"))
(sha256
(base32 "1q9pgjckjxz0qfwaqmzm1dh1y09819vi6vf1sglcz0vlqgfha0s7"))))
(build-system perl-build-system)
(propagated-inputs `(("perl-test-nowarnings" ,perl-test-nowarnings)))
(home-page "https://metacpan.org/release/Encode-IMAPUTF7")
(synopsis "Modification of UTF-7 encoding for IMAP")
(description "Modification of UTF-7 encoding for IMAP")
(license #f)))
(name "perl-encode-imaputf7")
(version "1.05")
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/P/PM/PMAKHOLM/Encode-IMAPUTF7-"
version ".tar.gz"))
(sha256
(base32
"1q9pgjckjxz0qfwaqmzm1dh1y09819vi6vf1sglcz0vlqgfha0s7"))))
(build-system perl-build-system)
(propagated-inputs `(("perl-test-nowarnings" ,perl-test-nowarnings)))
(home-page "https://metacpan.org/release/Encode-IMAPUTF7")
(synopsis "Modification of UTF-7 encoding for IMAP")
(description "Modification of UTF-7 encoding for IMAP")
(license #f)))
(define-public perl-file-tail
(package
(name "perl-file-tail")
(version "1.3")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/M/MG/MGRABNAR/File-Tail-"
version
".tar.gz"))
(sha256
(base32 "1ixg6kn4h330xfw3xgvqcbzfc3v2wlzjim9803jflhvfhf0rzl16"))))
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/M/MG/MGRABNAR/File-Tail-"
version ".tar.gz"))
(sha256
(base32
"1ixg6kn4h330xfw3xgvqcbzfc3v2wlzjim9803jflhvfhf0rzl16"))))
(build-system perl-build-system)
(home-page "https://metacpan.org/release/File-Tail")
(synopsis "Perl extension for reading from continously updated files")
@ -99,20 +97,18 @@
(package
(name "perl-io-socket-ssl")
(version "2.073")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/S/SU/SULLR/IO-Socket-SSL-"
version
".tar.gz"))
(sha256
(base32 "1j2prw40s3m3i41q3nnbdjw8kz8y992y5ki1ca0smcbwz56v7h5j"))))
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/S/SU/SULLR/IO-Socket-SSL-"
version ".tar.gz"))
(sha256
(base32
"1j2prw40s3m3i41q3nnbdjw8kz8y992y5ki1ca0smcbwz56v7h5j"))))
(build-system perl-build-system)
(native-inputs `(("perl-net-ssleay" ,perl-net-ssleay)))
(propagated-inputs
`(("perl-mozilla-ca" ,perl-mozilla-ca)
("perl-net-ssleay" ,perl-net-ssleay)))
(propagated-inputs `(("perl-mozilla-ca" ,perl-mozilla-ca)
("perl-net-ssleay" ,perl-net-ssleay)))
(home-page "https://metacpan.org/release/IO-Socket-SSL")
(synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET.")
(description "Nearly transparent SSL encapsulation for IO::Socket::INET.")
@ -122,15 +118,14 @@
(package
(name "perl-io-tee")
(version "0.66")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/N/NE/NEILB/IO-Tee-"
version
".tar.gz"))
(sha256
(base32 "1q2jhp02rywrbyhvl2lv6qp70dcv5cfalrx3cc4c7y8nclhfg71d"))))
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/N/NE/NEILB/IO-Tee-" version
".tar.gz"))
(sha256
(base32
"1q2jhp02rywrbyhvl2lv6qp70dcv5cfalrx3cc4c7y8nclhfg71d"))))
(build-system perl-build-system)
(home-page "https://metacpan.org/release/IO-Tee")
(synopsis "Multiplex output to multiple output handles")
@ -141,22 +136,20 @@
(package
(name "perl-json-webtoken")
(version "0.10")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/X/XA/XAICRON/JSON-WebToken-"
version
".tar.gz"))
(sha256
(base32 "12r40z7j8gs1p6wqn4k9f3k97p5lngaliidgh96p3w98hnlq5hbp"))))
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/X/XA/XAICRON/JSON-WebToken-"
version ".tar.gz"))
(sha256
(base32
"12r40z7j8gs1p6wqn4k9f3k97p5lngaliidgh96p3w98hnlq5hbp"))))
(build-system perl-build-system)
(native-inputs
`(("perl-module-build" ,perl-module-build)
("perl-test-mock-guard" ,perl-test-mock-guard)
("perl-test-requires" ,perl-test-requires)))
(propagated-inputs
`(("perl-json" ,perl-json) ("perl-module-runtime" ,perl-module-runtime)))
(native-inputs `(("perl-module-build" ,perl-module-build)
("perl-test-mock-guard" ,perl-test-mock-guard)
("perl-test-requires" ,perl-test-requires)))
(propagated-inputs `(("perl-json" ,perl-json)
("perl-module-runtime" ,perl-module-runtime)))
(home-page "https://metacpan.org/release/JSON-WebToken")
(synopsis "JSON Web Token (JWT) implementation")
(description "JSON Web Token (JWT) implementation")
@ -166,15 +159,14 @@
(package
(name "perl-mail-imapclient")
(version "3.43")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/P/PL/PLOBBES/Mail-IMAPClient-"
version
".tar.gz"))
(sha256
(base32 "0vxl3xfr9fr844nhjx5br1yggavpycnyydi99pzahisvq7x9fg09"))))
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/P/PL/PLOBBES/Mail-IMAPClient-"
version ".tar.gz"))
(sha256
(base32
"0vxl3xfr9fr844nhjx5br1yggavpycnyydi99pzahisvq7x9fg09"))))
(build-system perl-build-system)
(propagated-inputs `(("perl-parse-recdescent" ,perl-parse-recdescent)))
(home-page "https://metacpan.org/release/Mail-IMAPClient")
@ -186,35 +178,34 @@
(package
(name "perl-getopt-argvfile")
(version "1.11")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-"
version
".tar.gz"))
(sha256
(base32 "08jvhfqcjlsn013x96qa6paif0095x6y60jslp8p3zg67i8sl29p"))))
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-"
version ".tar.gz"))
(sha256
(base32
"08jvhfqcjlsn013x96qa6paif0095x6y60jslp8p3zg67i8sl29p"))))
(build-system perl-build-system)
(home-page "https://metacpan.org/release/Getopt-ArgvFile")
(synopsis
"Interpolates script options from files into @ARGV or another array")
(description "Interpolates script options from files into @ARGV or another array.")
(description
"Interpolates script options from files into @ARGV or another array.")
(license #f)))
(define-public perl-module-signature
(package
(name "perl-module-signature")
(version "0.88")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/A/AU/AUDREYT/Module-Signature-"
version
".tar.gz"))
(sha256
(base32 "14i6yg7z4shsmzzdjzamcyjxpci8jxr0z336a3iy7n9plmss2z3p"))))
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/A/AU/AUDREYT/Module-Signature-"
version ".tar.gz"))
(sha256
(base32
"14i6yg7z4shsmzzdjzamcyjxpci8jxr0z336a3iy7n9plmss2z3p"))))
(build-system perl-build-system)
(native-inputs (list perl-ipc-run gnupg))
(home-page "https://metacpan.org/release/Module-Signature")
@ -226,18 +217,16 @@
(package
(name "perl-par")
(version "1.017")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/R/RS/RSCHUPP/PAR-"
version
".tar.gz"))
(sha256
(base32 "0l4nfab7sh7452wgfnn0gdlh8pnrlnvim8njrfgkhk3miqjmnzf3"))))
(source (origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/R/RS/RSCHUPP/PAR-"
version ".tar.gz"))
(sha256
(base32
"0l4nfab7sh7452wgfnn0gdlh8pnrlnvim8njrfgkhk3miqjmnzf3"))))
(build-system perl-build-system)
(propagated-inputs
`(("perl-archive-zip" ,perl-archive-zip) ("perl-par-dist" ,perl-par-dist)))
(propagated-inputs `(("perl-archive-zip" ,perl-archive-zip)
("perl-par-dist" ,perl-par-dist)))
(home-page "https://metacpan.org/release/PAR")
(synopsis "Perl Archive Toolkit")
(description "Perl Archive Toolkit.")
@ -247,18 +236,17 @@
(package
(name "perl-tk-canvas-gradientcolor")
(version "1.06")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/D/DJ/DJIBEL/Tk-Canvas-GradientColor-"
version
".tar.gz"))
(sha256
(base32 "07nw0xm30kb6mxjxgla2m28npnmrxz46xmvi9n2rhr5fv99jfymj"))))
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/D/DJ/DJIBEL/Tk-Canvas-GradientColor-"
version ".tar.gz"))
(sha256
(base32
"07nw0xm30kb6mxjxgla2m28npnmrxz46xmvi9n2rhr5fv99jfymj"))))
(build-system perl-build-system)
(native-inputs
`(("perl-module-build" ,perl-module-build) ("perl-tk" ,perl-tk)))
(native-inputs `(("perl-module-build" ,perl-module-build)
("perl-tk" ,perl-tk)))
(home-page "https://metacpan.org/release/Tk-Canvas-GradientColor")
(synopsis "To create a Canvas widget with background gradient color")
(description "To create a Canvas widget with background gradient color.")
@ -268,20 +256,17 @@
(package
(name "perl-tk-coloredbutton")
(version "1.05")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/D/DJ/DJIBEL/Tk-ColoredButton-"
version
".tar.gz"))
(sha256
(base32 "0hngxviz5jbqchicjdqgby2ibwgr1glyimf88bfmbwk0i4x7h5zj"))))
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/D/DJ/DJIBEL/Tk-ColoredButton-"
version ".tar.gz"))
(sha256
(base32
"0hngxviz5jbqchicjdqgby2ibwgr1glyimf88bfmbwk0i4x7h5zj"))))
(build-system perl-build-system)
(native-inputs
(list perl-module-build
perl-tk
perl-tk-canvas-gradientcolor))
(native-inputs (list perl-module-build perl-tk
perl-tk-canvas-gradientcolor))
(home-page "https://metacpan.org/release/Tk-ColoredButton")
(synopsis "Button widget with background gradient color")
(description "Button widget with background gradient color.")
@ -291,37 +276,37 @@
(package
(name "perl-tk-entrycheck")
(version "0.04")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/S/ST/STRAT/Tk-EntryCheck-"
version
".tar.gz"))
(sha256
(base32 "0phx2ppgf8flcv7ap2zx705glz97mnc0cyp0pfibbwqlj3a4hcg8"))))
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/S/ST/STRAT/Tk-EntryCheck-"
version ".tar.gz"))
(sha256
(base32
"0phx2ppgf8flcv7ap2zx705glz97mnc0cyp0pfibbwqlj3a4hcg8"))))
(build-system perl-build-system)
; (native-inputs (list perl-tk)) ; TODO: needed for tests, but tests fail to open display :0 (depend on xorg)
(arguments `(#:tests? #f))
;; (native-inputs (list perl-tk)) ; TODO: needed for tests, but tests fail to open display :0 (depend on xorg)
(arguments
`(#:tests? #f))
(home-page "https://metacpan.org/release/Tk-EntryCheck")
(synopsis
"Interface to Tk::Entry for controlling its maximum length and content in an easy way")
(description "Interface to Tk::Entry for controlling its maximum length and content in an easy way.")
(description
"Interface to Tk::Entry for controlling its maximum length and content in an easy way.")
(license license:perl-license)))
(define-public perl-tk-fontdialog
(package
(name "perl-tk-fontdialog")
(version "0.18")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/S/SR/SREZIC/Tk-FontDialog-"
version
".tar.gz"))
(sha256
(base32 "0ck3h2ssiisbk46l66shzpj7n06pjilx8h007appz2ry46vyh03w"))))
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/S/SR/SREZIC/Tk-FontDialog-"
version ".tar.gz"))
(sha256
(base32
"0ck3h2ssiisbk46l66shzpj7n06pjilx8h007appz2ry46vyh03w"))))
(build-system perl-build-system)
(propagated-inputs `(("perl-tk" ,perl-tk)))
(home-page "https://metacpan.org/release/Tk-FontDialog")
@ -333,49 +318,47 @@
(package
(name "perl-tk-getopt")
(version "0.51")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/S/SR/SREZIC/Tk-Getopt-"
version
".tar.gz"))
(sha256
(base32 "0b7kln2614a9sycbbfjj23vpfn3r5rbshi0571wbcrmkjjpm90kg"))))
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/S/SR/SREZIC/Tk-Getopt-" version
".tar.gz"))
(sha256
(base32
"0b7kln2614a9sycbbfjj23vpfn3r5rbshi0571wbcrmkjjpm90kg"))))
(build-system perl-build-system)
(propagated-inputs
(list perl-tk perl-tk-fontdialog))
(propagated-inputs (list perl-tk perl-tk-fontdialog))
(home-page "https://metacpan.org/release/Tk-Getopt")
(synopsis "User configuration window for Tk with interface to Getopt::Long")
(description "User configuration window for Tk with interface to Getopt::Long.")
(synopsis
"User configuration window for Tk with interface to Getopt::Long")
(description
"User configuration window for Tk with interface to Getopt::Long.")
(license license:perl-license)))
(define-public perl-par-packer
(package
(name "perl-par-packer")
(version "1.052")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/R/RS/RSCHUPP/PAR-Packer-"
version
".tar.gz"))
(sha256
(base32 "16il9sgcnjg9w07grwrxagvk30bfn0hhrqa9f5z606k7yhvdbypz"))))
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/R/RS/RSCHUPP/PAR-Packer-"
version ".tar.gz"))
(sha256
(base32
"16il9sgcnjg9w07grwrxagvk30bfn0hhrqa9f5z606k7yhvdbypz"))))
(build-system perl-build-system)
(native-inputs (list perl-ipc-run3))
(propagated-inputs
(list perl-archive-zip
perl-getopt-argvfile
perl-module-scandeps
perl-module-signature
perl-par
perl-par-dist
perl-tk
perl-tk-coloredbutton
perl-tk-entrycheck
perl-tk-getopt))
(propagated-inputs (list perl-archive-zip
perl-getopt-argvfile
perl-module-scandeps
perl-module-signature
perl-par
perl-par-dist
perl-tk
perl-tk-coloredbutton
perl-tk-entrycheck
perl-tk-getopt))
(home-page "https://metacpan.org/release/PAR-Packer")
(synopsis "PAR Packager")
(description "PAR Packager.")
@ -385,15 +368,14 @@
(package
(name "perl-sys-meminfo")
(version "0.99")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/S/SC/SCRESTO/Sys-MemInfo-"
version
".tar.gz"))
(sha256
(base32 "0fryrzj06wk2kxg4swsj9xqhn53yy55j8fbrf9fsx2rs7afk31h7"))))
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/S/SC/SCRESTO/Sys-MemInfo-"
version ".tar.gz"))
(sha256
(base32
"0fryrzj06wk2kxg4swsj9xqhn53yy55j8fbrf9fsx2rs7afk31h7"))))
(build-system perl-build-system)
(home-page "https://metacpan.org/release/Sys-MemInfo")
(synopsis "Query the total free and used physical memory")
@ -404,15 +386,14 @@
(package
(name "perl-test-mock-guard")
(version "0.10")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/X/XA/XAICRON/Test-Mock-Guard-"
version
".tar.gz"))
(sha256
(base32 "0gdx1nahk5sgg5ns1v1m50di4wshx09hl244lwmbkknnz1iql8kz"))))
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/X/XA/XAICRON/Test-Mock-Guard-"
version ".tar.gz"))
(sha256
(base32
"0gdx1nahk5sgg5ns1v1m50di4wshx09hl244lwmbkknnz1iql8kz"))))
(build-system perl-build-system)
(native-inputs `(("perl-module-build" ,perl-module-build)))
(propagated-inputs `(("perl-class-load" ,perl-class-load)))
@ -425,15 +406,14 @@
(package
(name "perl-unicode-string")
(version "2.10")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/G/GA/GAAS/GAAS/Unicode-String-"
version
".tar.gz"))
(sha256
(base32 "0s4vp8k7ag7z9lsnnkpa9mnch83kxhp9gh7yiapld5a7rq712jl9"))))
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/G/GA/GAAS/GAAS/Unicode-String-"
version ".tar.gz"))
(sha256
(base32
"0s4vp8k7ag7z9lsnnkpa9mnch83kxhp9gh7yiapld5a7rq712jl9"))))
(build-system perl-build-system)
(home-page "https://metacpan.org/release/Unicode-String")
(synopsis "String of Unicode characters (UTF-16BE)")
@ -444,15 +424,14 @@
(package
(name "perl-app-cpanminus")
(version "1.7044")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/M/MI/MIYAGAWA/App-cpanminus-"
version
".tar.gz"))
(sha256
(base32 "1ww11x87b6z14yc3xk1sqajqjcx6c28g24rzkmxfylh7wizpcq4v"))))
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/M/MI/MIYAGAWA/App-cpanminus-"
version ".tar.gz"))
(sha256
(base32
"1ww11x87b6z14yc3xk1sqajqjcx6c28g24rzkmxfylh7wizpcq4v"))))
(build-system perl-build-system)
(home-page "https://metacpan.org/release/App-cpanminus")
(synopsis "Get, unpack, build and install modules from CPAN")
@ -475,61 +454,58 @@
(build-system gnu-build-system)
(native-inputs (list inetutils perl))
;; TODO: these should be normal inputs, but currently the executable produced is not wrapped, so it fails to load the required libs
(propagated-inputs
(list perl-cgi
perl-app-cpanminus
perl-crypt-openssl-rsa
perl-data-uniqid
perl-digest-hmac
perl-dist-checkconflicts
perl-encode
perl-encode-imaputf7
perl-file-copy-recursive
perl-file-tail
perl-io-socket-inet6
perl-io-socket-ssl
perl-io-tee
perl-json
perl-json-webtoken
perl-libwww
perl-mail-imapclient
perl-module-implementation
perl-module-scandeps
perl-net-ssleay
perl-ntlm
perl-package-stash
perl-par-packer
perl-parse-recdescent
perl-readonly
perl-regexp-common
perl-sys-meminfo
perl-term-readkey
perl-test-deep
perl-test-fatal
perl-test-mock-guard
perl-test-mockobject
perl-test-pod
perl-test-requires
perl-unicode-string
perl-uri
perl-try-tiny))
(propagated-inputs (list perl-cgi
perl-app-cpanminus
perl-crypt-openssl-rsa
perl-data-uniqid
perl-digest-hmac
perl-dist-checkconflicts
perl-encode
perl-encode-imaputf7
perl-file-copy-recursive
perl-file-tail
perl-io-socket-inet6
perl-io-socket-ssl
perl-io-tee
perl-json
perl-json-webtoken
perl-libwww
perl-mail-imapclient
perl-module-implementation
perl-module-scandeps
perl-net-ssleay
perl-ntlm
perl-package-stash
perl-par-packer
perl-parse-recdescent
perl-readonly
perl-regexp-common
perl-sys-meminfo
perl-term-readkey
perl-test-deep
perl-test-fatal
perl-test-mock-guard
perl-test-mockobject
perl-test-pod
perl-test-requires
perl-unicode-string
perl-uri
perl-try-tiny))
(arguments
`(#:phases
(modify-phases %standard-phases
(delete 'configure)
(replace 'build
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin")))
(invoke "make")
#t)))
(delete 'check)
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")))
(mkdir-p "./W") ;; make install fails unless a W directory exists
(invoke "make" "install" "PREFIX=/" (string-append "DESTDIR=" out))
#t))))))
`(#:phases (modify-phases %standard-phases
(delete 'configure)
(replace 'build
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin")))
(invoke "make") #t)))
(delete 'check)
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")))
(mkdir-p "./W") ;make install fails unless a W directory exists
(invoke "make" "install" "PREFIX=/"
(string-append "DESTDIR=" out)) #t))))))
(synopsis "Imapsync is an IMAP transfers tool")
(description
"Imapsync is an IMAP transfers tool. The purpose of imapsync is to

View File

@ -17,7 +17,8 @@
;;; <http://www.gnu.org/licenses/>.
(define-module (rekahsoft-gnu packages python-xyz)
#:use-module ((guix licenses) #:prefix license:)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (gnu packages)
#:use-module (gnu packages check)
#:use-module (gnu packages cmake)
@ -42,23 +43,21 @@
(package
(name "python-virtualenv-clone")
(version "0.5.7")
(source
(origin
(method url-fetch)
(uri (pypi-uri "virtualenv-clone" version))
(sha256
(base32
"06jhhf8hndcgyk9k3bjbk3vz1xpajfxj9667agqzhlk1qcsyk3j1"))))
(source (origin
(method url-fetch)
(uri (pypi-uri "virtualenv-clone" version))
(sha256
(base32
"06jhhf8hndcgyk9k3bjbk3vz1xpajfxj9667agqzhlk1qcsyk3j1"))))
(build-system python-build-system)
;; (native-inputs
;; `(("python-pytest" ,python-pytest)
;; ("python-tox" ,python-tox)
;; ("python-virtualenv" ,python-virtualenv)))
;; `(("python-pytest" ,python-pytest)
;; ("python-tox" ,python-tox)
;; ("python-virtualenv" ,python-virtualenv)))
(arguments
;; FIXME: Tests currently fail
`(#:tests? #f))
(home-page
"https://github.com/edwardgeorge/virtualenv-clone")
(home-page "https://github.com/edwardgeorge/virtualenv-clone")
(synopsis "Script to clone virtualenvs.")
(description "Script to clone virtualenvs.")
(license license:expat)))
@ -68,22 +67,19 @@
(package
(name "python-arpeggio")
(version "1.9.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Arpeggio" version))
(sha256
(base32
"0aq2pmhfyq7vhbhyq8jgxiphncy1s79rmrsggz4p52m4cdhy134l"))))
(source (origin
(method url-fetch)
(uri (pypi-uri "Arpeggio" version))
(sha256
(base32
"0aq2pmhfyq7vhbhyq8jgxiphncy1s79rmrsggz4p52m4cdhy134l"))))
(build-system python-build-system)
(native-inputs
`(("python-pytest" ,python-pytest)
("python-pytest-runner" ,python-pytest-runner)))
(native-inputs `(("python-pytest" ,python-pytest)
("python-pytest-runner" ,python-pytest-runner)))
(arguments
;; FIXME: Tests currently fail
`(#:tests? #f))
(home-page
"https://github.com/textX/Arpeggio")
(home-page "https://github.com/textX/Arpeggio")
(synopsis "Packrat parser interpreter")
(description "Packrat parser interpreter")
(license license:expat)))
@ -93,38 +89,34 @@
(package
(name "python-parver")
(version "0.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "parver" version))
(sha256
(base32
"0a6jp17c1ag6b9yp5xgy9wvznk3g0v2f8gpwkcwxpyc9ygk98zdm"))))
(source (origin
(method url-fetch)
(uri (pypi-uri "parver" version))
(sha256
(base32
"0a6jp17c1ag6b9yp5xgy9wvznk3g0v2f8gpwkcwxpyc9ygk98zdm"))))
(build-system python-build-system)
(native-inputs
`(("python-six" ,python-six)
("python-attrs" ,python-attrs)
("python-arpeggio" ,python-arpeggio)
("python-pytest" ,python-pytest)
("python-hypothesis" ,python-hypothesis)
("python-pretend" ,python-pretend)))
(native-inputs `(("python-six" ,python-six)
("python-attrs" ,python-attrs)
("python-arpeggio" ,python-arpeggio)
("python-pytest" ,python-pytest)
("python-hypothesis" ,python-hypothesis)
("python-pretend" ,python-pretend)))
(home-page "https://github.com/RazerM/parver")
(synopsis
"Parse and manipulate version numbers")
(description
"Parse and manipulate version numbers.")
(synopsis "Parse and manipulate version numbers")
(description "Parse and manipulate version numbers.")
(license license:expat)))
(define-public python-bs4
(package
(name "python-bs4")
(version "0.0.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "bs4" version))
(sha256
(base32 "0fnxhql23ql6q5n64xjknx3sc3fm4vgpbw0z99p0qp6cswgymv1n"))))
(source (origin
(method url-fetch)
(uri (pypi-uri "bs4" version))
(sha256
(base32
"0fnxhql23ql6q5n64xjknx3sc3fm4vgpbw0z99p0qp6cswgymv1n"))))
(build-system python-build-system)
(propagated-inputs (list python-beautifulsoup4))
(home-page "https://pypi.python.org/pypi/beautifulsoup4")
@ -136,19 +128,15 @@
(package
(name "python-towncrier")
(version "21.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "towncrier" version))
(sha256
(base32 "1znxavwsiy6czirjn0qi1p5yarnm7gg692nb0309hb6p4k4hpvbf"))))
(source (origin
(method url-fetch)
(uri (pypi-uri "towncrier" version))
(sha256
(base32
"1znxavwsiy6czirjn0qi1p5yarnm7gg692nb0309hb6p4k4hpvbf"))))
(build-system python-build-system)
(propagated-inputs
(list python-click
python-click-default-group
python-incremental
python-jinja2
python-toml))
(propagated-inputs (list python-click python-click-default-group
python-incremental python-jinja2 python-toml))
(native-inputs (list python-packaging))
(home-page "https://github.com/hawkowl/towncrier")
(synopsis "Building newsfiles for your project.")
@ -160,33 +148,28 @@
(package
(name "python-pipenv")
(version "2022.1.8")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pipenv" version))
(sha256
(base32 "1l4zabd1q5aggjhp4v906l8z8g6q37bcgyxqq8man8lv4ccp2kgq"))))
(source (origin
(method url-fetch)
(uri (pypi-uri "pipenv" version))
(sha256
(base32
"1l4zabd1q5aggjhp4v906l8z8g6q37bcgyxqq8man8lv4ccp2kgq"))))
(build-system python-build-system)
(propagated-inputs
(list python-certifi
python-pip
python-setuptools
python-virtualenv
python-virtualenv-clone))
(native-inputs
(list python-black
python-bs4
python-flake8
python-flaky
python-invoke
python-mock
python-parver
python-pytest
python-pytest-timeout
python-pytest-xdist
python-sphinx
python-towncrier
python-twine))
(propagated-inputs (list python-certifi python-pip python-setuptools
python-virtualenv python-virtualenv-clone))
(native-inputs (list python-black
python-bs4
python-flake8
python-flaky
python-invoke
python-mock
python-parver
python-pytest
python-pytest-timeout
python-pytest-xdist
python-sphinx
python-towncrier
python-twine))
(arguments
;; FIXME: Tests fail with: "TypeError: don't know how to make test from: 2022.1.8"
'(#:tests? #f))
@ -200,39 +183,38 @@
(package
(name "python-ujson")
(version "2.0.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ujson" version))
(sha256
(base32
"18z9gb9ggy1r464b9q1gqs078mqgrkj6dys5a47529rqk3yfybdx"))
(modules '((guix build utils)))
(snippet
'(begin (delete-file-recursively "deps") #t))))
(source (origin
(method url-fetch)
(uri (pypi-uri "ujson" version))
(sha256
(base32
"18z9gb9ggy1r464b9q1gqs078mqgrkj6dys5a47529rqk3yfybdx"))
(modules '((guix build utils)))
(snippet '(begin
(delete-file-recursively "deps") #t))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'link-to-system-double-conversion
(lambda* (#:key inputs #:allow-other-keys)
(let ((d-c (assoc-ref inputs "double-conversion")))
(substitute* "setup.py"
(("./deps/double-conversion/double-conversion\"")
(string-append d-c "/include/double-conversion\""))
(("-lstdc++" stdc)
(string-append "-L" d-c "/lib\","
" \"-ldouble-conversion\","
" \"" stdc)))
#t)))
(replace 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
(invoke "pytest"))))))
(native-inputs
`(("double-conversion" ,double-conversion)
("python-setuptools-scm" ,python-setuptools-scm)
("python-pytest" ,python-pytest)))
`(#:phases (modify-phases %standard-phases
(add-after 'unpack 'link-to-system-double-conversion
(lambda* (#:key inputs #:allow-other-keys)
(let ((d-c (assoc-ref inputs "double-conversion")))
(substitute* "setup.py"
(("./deps/double-conversion/double-conversion\"")
(string-append d-c "/include/double-conversion\""))
(("-lstdc++" stdc)
(string-append "-L"
d-c
"/lib\","
" \"-ldouble-conversion\","
" \""
stdc))) #t)))
(replace 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
(invoke "pytest"))))))
(native-inputs `(("double-conversion" ,double-conversion)
("python-setuptools-scm" ,python-setuptools-scm)
("python-pytest" ,python-pytest)))
(home-page "https://github.com/ultrajson/ultrajson")
(synopsis "Ultra fast JSON encoder and decoder for Python")
(description
@ -245,93 +227,95 @@ bindings for Python 3.")
;; awscliv2 depends on 'prompt-toolkit<3.0.29,>=3.0.24', however upstream 3.0.29 is packaged
(define-public python-prompt-toolkit-3.0.28
(package/inherit python-prompt-toolkit
(name "python-prompt-toolkit")
(version "3.0.28")
(source
(origin
(method url-fetch)
(uri (pypi-uri "prompt_toolkit" version))
(sha256
(base32
"0l0nnm9fvs8lklk2qq8mylb9jrlxvlqzpmqr4n7rdhl63rmx274z"))))))
(name "python-prompt-toolkit")
(version "3.0.28")
(source (origin
(method url-fetch)
(uri (pypi-uri "prompt_toolkit" version))
(sha256 (base32
"0l0nnm9fvs8lklk2qq8mylb9jrlxvlqzpmqr4n7rdhl63rmx274z"))))))
(define-public awscliv2
(package
(inherit awscli)
(name "awscliv2")
(version "2.7.18")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/aws/aws-cli")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "10p6433spz3lw5jwnw0kflp3fh629chiscp868slld6x2kp80gi4"))))
(native-inputs
`(("python-distro" ,python-distro-1.5)
("python-docutils" ,python-docutils-0.15)
("python-s3transfer" ,python-s3transfer)
("python-awscrt" ,python-awscrt)
("python-prompt-toolkit" ,python-prompt-toolkit-3.0.28)
("python-ruamel.yaml" ,python-ruamel.yaml-0.15)
("python-cryptography" ,python-cryptography-3.3.2)
("python-botocore" ,python-botocore-2.0.0dev155)))
(propagated-inputs
`(,@(fold alist-delete
(package-propagated-inputs awscli)
'("python-botocore"))))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/aws/aws-cli")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"10p6433spz3lw5jwnw0kflp3fh629chiscp868slld6x2kp80gi4"))))
(native-inputs `(("python-distro" ,python-distro-1.5)
("python-docutils" ,python-docutils-0.15)
("python-s3transfer" ,python-s3transfer)
("python-awscrt" ,python-awscrt)
("python-prompt-toolkit" ,python-prompt-toolkit-3.0.28)
("python-ruamel.yaml" ,python-ruamel.yaml-0.15)
("python-cryptography" ,python-cryptography-3.3.2)
("python-botocore" ,python-botocore-2.0.0dev155)))
(propagated-inputs `(,@(fold alist-delete
(package-propagated-inputs awscli)
'("python-botocore"))))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'build 'removed-vendored
(lambda* _
(for-each delete-file-recursively
'("awscli/botocore" "awscli/s3transfer"))
(symlink (string-append
(assoc-ref %build-inputs "python-botocore")
"/lib/python"
(python-version (assoc-ref %build-inputs "python"))
"/site-packages/botocore")
"awscli/botocore")
(symlink (string-append
(assoc-ref %build-inputs "python-s3transfer")
"/lib/python"
(python-version (assoc-ref %build-inputs "python"))
"/site-packages/s3transfer")
"awscli/s3transfer")
#t))
(add-after 'install 'generate-completions
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(python-version (python-version (assoc-ref inputs "python")))
(data (string-append out "/lib/python" python-version
"/site-packages/awscli/data"))
(bash-completion
(string-append out "/share/bash-completion/completions"))
(zsh-site-functions
(string-append out "/share/zsh/site-functions")))
(mkdir-p data)
(add-installed-pythonpath inputs outputs)
`(#:phases (modify-phases %standard-phases
(add-before 'build 'removed-vendored
(lambda* _
(for-each delete-file-recursively
'("awscli/botocore" "awscli/s3transfer"))
(symlink (string-append (assoc-ref %build-inputs
"python-botocore")
"/lib/python"
(python-version (assoc-ref
%build-inputs
"python"))
"/site-packages/botocore")
"awscli/botocore")
(symlink (string-append (assoc-ref %build-inputs
"python-s3transfer")
"/lib/python"
(python-version (assoc-ref
%build-inputs
"python"))
"/site-packages/s3transfer")
"awscli/s3transfer") #t))
(add-after 'install 'generate-completions
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(python-version (python-version (assoc-ref inputs
"python")))
(data (string-append out "/lib/python"
python-version
"/site-packages/awscli/data"))
(bash-completion (string-append out
"/share/bash-completion/completions"))
(zsh-site-functions (string-append out
"/share/zsh/site-functions")))
(mkdir-p data)
(add-installed-pythonpath inputs outputs)
(invoke "python" "scripts/gen-ac-index"
"--index-location" (string-append data "/ac.index"))
(invoke "python" "scripts/gen-ac-index"
"--index-location"
(string-append data "/ac.index"))
(mkdir-p bash-completion)
(call-with-output-file
(string-append bash-completion "/aws")
(lambda (port)
(format
port
(string-join
(list
"complete" "-C" (string-append out "/bin/aws_completer") "aws")))))
(mkdir-p bash-completion)
(call-with-output-file (string-append bash-completion
"/aws")
(lambda (port)
(format port
(string-join (list "complete" "-C"
(string-append out
"/bin/aws_completer")
"aws")))))
(mkdir-p zsh-site-functions)
(rename-file (string-append out "/bin/aws_zsh_completer.sh")
(string-append zsh-site-functions "/_aws"))
#t))))
(mkdir-p zsh-site-functions)
(rename-file (string-append out
"/bin/aws_zsh_completer.sh")
(string-append zsh-site-functions "/_aws"))
#t))))
;; FIXME: Tests currently fail
#:tests? #f))
(synopsis "Command line client for AWS v2")
@ -340,76 +324,66 @@ Amazon Web Services (AWS) API.")))
(define-public python-jmespath-0.10
(package
(inherit python-jmespath)
(version "0.10.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "jmespath" version))
(sha256
(base32
"1yflbqggg1z9ndw9ps771hy36d07j9l2wwbj66lljqb6p1khapdq"))))))
(inherit python-jmespath)
(version "0.10.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "jmespath" version))
(sha256
(base32
"1yflbqggg1z9ndw9ps771hy36d07j9l2wwbj66lljqb6p1khapdq"))))))
(define-public python-distro-1.5
(package
(inherit python-distro)
(version "1.5.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "distro" version))
(sha256
(base32
"14nz51cqlnxmgfqqilxyvjwwa5xfivdvlm0d0b1qzgcgwdm7an0f"))))))
(source (origin
(method url-fetch)
(uri (pypi-uri "distro" version))
(sha256
(base32
"14nz51cqlnxmgfqqilxyvjwwa5xfivdvlm0d0b1qzgcgwdm7an0f"))))))
(define-public python-ruamel.yaml-0.15
(package
(inherit python-ruamel.yaml)
(name "python-ruamel.yaml")
(version "0.15.100")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ruamel.yaml" version))
(sha256
(base32
"1r5j9n2jdq48z0k4bdia1f7krn8f2x3y49i9ba9iks2rg83g6hlf"))))))
(source (origin
(method url-fetch)
(uri (pypi-uri "ruamel.yaml" version))
(sha256
(base32
"1r5j9n2jdq48z0k4bdia1f7krn8f2x3y49i9ba9iks2rg83g6hlf"))))))
(define-public python-cryptography-3.3.2
(package
(inherit python-cryptography)
(name "python-cryptography")
(version "3.3.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "cryptography" version))
(sha256
(base32
"1vcvw4lkw1spiq322pm1256kail8nck6bbgpdxx3pqa905wd6q2s"))))))
(source (origin
(method url-fetch)
(uri (pypi-uri "cryptography" version))
(sha256
(base32
"1vcvw4lkw1spiq322pm1256kail8nck6bbgpdxx3pqa905wd6q2s"))))))
(define-public python-awscrt
(package
(name "python-awscrt")
(version "0.12.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "awscrt" version))
(sha256
(base32
"1cmfkcv2zzirxsb989vx1hvna9nv24pghcvypl0zaxsjphv97mka"))))
(source (origin
(method url-fetch)
(uri (pypi-uri "awscrt" version))
(sha256
(base32
"1cmfkcv2zzirxsb989vx1hvna9nv24pghcvypl0zaxsjphv97mka"))))
(build-system python-build-system)
(native-inputs
`(("cmake" ,cmake)))
(propagated-inputs
`(("python-boto3" ,python-boto3)))
(home-page
"https://github.com/awslabs/aws-crt-python")
(synopsis
"Common runtime for AWS Python projects")
(description
"Common runtime for AWS Python projects")
(native-inputs `(("cmake" ,cmake)))
(propagated-inputs `(("python-boto3" ,python-boto3)))
(home-page "https://github.com/awslabs/aws-crt-python")
(synopsis "Common runtime for AWS Python projects")
(description "Common runtime for AWS Python projects")
(license license:asl2.0)))
(define-public python-botocore-2.0.0dev155
@ -419,56 +393,53 @@ Amazon Web Services (AWS) API.")))
(inherit python-botocore)
(name "python-botocore")
(version "2.0.0dev155")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/boto/botocore")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0lr98h80fgs6kplv52y92pcf1ba4041zq26wdfsfjkg84py9q83a"))))
(propagated-inputs
`(("python-awscrt" ,python-awscrt)
("python-jmespath" ,python-jmespath-0.10)
,@(package-propagated-inputs python-awscrt))))))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/boto/botocore")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0lr98h80fgs6kplv52y92pcf1ba4041zq26wdfsfjkg84py9q83a"))))
(propagated-inputs `(("python-awscrt" ,python-awscrt)
("python-jmespath" ,python-jmespath-0.10)
,@(package-propagated-inputs python-awscrt))))))
(define-public python-htmlark
(package
(name "python-htmlark")
(version "1.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "HTMLArk" version))
(sha256
(base32 "0qg2vwnlqhdhxxkji3l6ls4ycsrjmhvjizsa7hw08373f69mj68v"))))
(build-system python-build-system)
(propagated-inputs
`(("python-beautifulsoup4" ,python-beautifulsoup4)
("python-lxml" ,python-lxml)
("python-html5lib" ,python-html5lib)
("python-requests" ,python-requests)))
(home-page "https://github.com/BitLooter/htmlark")
(synopsis "Pack a webpage including support files into a single HTML file")
(description
"Pack a webpage including support files into a single HTML file.")
(license license:expat)))
(name "python-htmlark")
(version "1.0.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "HTMLArk" version))
(sha256
(base32
"0qg2vwnlqhdhxxkji3l6ls4ycsrjmhvjizsa7hw08373f69mj68v"))))
(build-system python-build-system)
(propagated-inputs `(("python-beautifulsoup4" ,python-beautifulsoup4)
("python-lxml" ,python-lxml)
("python-html5lib" ,python-html5lib)
("python-requests" ,python-requests)))
(home-page "https://github.com/BitLooter/htmlark")
(synopsis "Pack a webpage including support files into a single HTML file")
(description
"Pack a webpage including support files into a single HTML file.")
(license license:expat)))
(define-public python-ofxhome
(package
(name "python-ofxhome")
(version "0.3.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ofxhome" version))
(sha256
(base32 "1rpyfqr2q9pnin47rjd4qapl8ngk1m9jx36iqckhdhr8s8gla445"))))
(source (origin
(method url-fetch)
(uri (pypi-uri "ofxhome" version))
(sha256
(base32
"1rpyfqr2q9pnin47rjd4qapl8ngk1m9jx36iqckhdhr8s8gla445"))))
(build-system python-build-system)
(arguments
`(;; TODO: tests currently fail due to missing test file:
`( ;TODO: tests currently fail due to missing test file:
;; FileNotFoundError: [Errno 2] No such file or directory: '/tmp/guix-build-python-ofxhome-0.3.3.drv-0/ofxhome-0.3.3/ofxhome/tests/testfiles/jpmorgan.xml'
#:tests? #f))
(home-page "https://github.com/captin411/ofxhome")
@ -482,12 +453,12 @@ Amazon Web Services (AWS) API.")))
(package
(name "python-argparse")
(version "1.4.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "argparse" version))
(sha256
(base32 "1r6nznp64j68ih1k537wms7h57nvppq0szmwsaf99n71bfjqkc32"))))
(source (origin
(method url-fetch)
(uri (pypi-uri "argparse" version))
(sha256
(base32
"1r6nznp64j68ih1k537wms7h57nvppq0szmwsaf99n71bfjqkc32"))))
(build-system python-build-system)
(home-page "https://github.com/ThomasWaldmann/argparse/")
(synopsis "Python command-line parsing library")
@ -499,20 +470,19 @@ Amazon Web Services (AWS) API.")))
(package
(name "python-ofxclient")
(version "2.0.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ofxclient" version))
(sha256
(base32 "0jdhqsbl34yn3n0x6mwsnl58c25v5lp6vr910c2hk7l74l5y7538"))))
(source (origin
(method url-fetch)
(uri (pypi-uri "ofxclient" version))
(sha256
(base32
"0jdhqsbl34yn3n0x6mwsnl58c25v5lp6vr910c2hk7l74l5y7538"))))
(build-system python-build-system)
(propagated-inputs
`(("python-beautifulsoup4" ,python-beautifulsoup4)
("python-keyring" ,python-keyring)
("python-lxml" ,python-lxml)
("python-ofxhome" ,python-ofxhome)
("python-ofxparse" ,python-ofxparse)
("python-argparse" ,python-argparse)))
(propagated-inputs `(("python-beautifulsoup4" ,python-beautifulsoup4)
("python-keyring" ,python-keyring)
("python-lxml" ,python-lxml)
("python-ofxhome" ,python-ofxhome)
("python-ofxparse" ,python-ofxparse)
("python-argparse" ,python-argparse)))
(home-page "https://github.com/captin411/ofxclient")
(synopsis "OFX client for dowloading transactions from banks")
(description "OFX client for dowloading transactions from banks")
@ -523,16 +493,14 @@ Amazon Web Services (AWS) API.")))
(package
(name "ledger-autosync")
(version "1.0.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ledger-autosync" version))
(sha256
(base32 "0i4942qbsphq72zx7kd3rgw25rpq4fg4vl43akkl189wzcrgwv6j"))))
(source (origin
(method url-fetch)
(uri (pypi-uri "ledger-autosync" version))
(sha256
(base32
"0i4942qbsphq72zx7kd3rgw25rpq4fg4vl43akkl189wzcrgwv6j"))))
(build-system python-build-system)
(inputs
(list python-ofxclient
python-ofxparse))
(inputs (list python-ofxclient python-ofxparse))
(home-page "https://gitlab.com/egh/ledger-autosync")
(synopsis "Automatically sync your bank's data with ledger")
(description "Automatically sync your bank's data with ledger")
@ -542,11 +510,10 @@ Amazon Web Services (AWS) API.")))
(package
(inherit python-pyyaml)
(version "5.4.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "PyYAML" version))
(sha256
(base32
"0pm440pmpvgv5rbbnm8hk4qga5a292kvlm1bh3x2nwr8pb5p8xv0"))))))
(source (origin
(method url-fetch)
(uri (pypi-uri "PyYAML" version))
(sha256
(base32
"0pm440pmpvgv5rbbnm8hk4qga5a292kvlm1bh3x2nwr8pb5p8xv0"))))))

View File

@ -17,7 +17,8 @@
;;; <http://www.gnu.org/licenses/>.
(define-module (rekahsoft-gnu packages shellutils)
#:use-module ((guix licenses) #:prefix license:)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (guix utils)
#:use-module (guix packages)
#:use-module (guix download)
@ -54,41 +55,43 @@
(base32
"0hyxydrk057pcaqqfbbi0a4zrfxgx7688rm466a7ambl3vsrdscv"))))
(build-system go-build-system)
(native-inputs
`(("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
("github.com/mattn/go-runewidth" ,go-github.com-mattn-go-runewidth)
("github.com/mattn/go-shellwords" ,go-github-com-mattn-go-shellwords)
("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
("go-golang-org-x-sys" ,go-golang-org-x-sys)
("go-github-com-saracen-walker" ,go-github-com-saracen-walker)
("go-golang.org-x-sync-errgroup" ,go-golang.org-x-sync-errgroup)
("go-github-com-rivo-uniseg" ,go-github-com-rivo-uniseg)
("go-golang-org-x-term" ,go-golang-org-x-term)))
(propagated-inputs
`(("tmux" ,tmux)
("perl" ,perl)))
(native-inputs `(("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
("github.com/mattn/go-runewidth" ,go-github.com-mattn-go-runewidth)
("github.com/mattn/go-shellwords" ,go-github-com-mattn-go-shellwords)
("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
("go-golang-org-x-sys" ,go-golang-org-x-sys)
("go-github-com-saracen-walker" ,go-github-com-saracen-walker)
("go-golang.org-x-sync-errgroup" ,go-golang.org-x-sync-errgroup)
("go-github-com-rivo-uniseg" ,go-github-com-rivo-uniseg)
("go-golang-org-x-term" ,go-golang-org-x-term)))
(propagated-inputs `(("tmux" ,tmux)
("perl" ,perl)))
(arguments
`(#:import-path "github.com/junegunn/fzf"
#:install-source? #f
#:phases
(modify-phases %standard-phases
(add-before 'build 'setup-env
(lambda _
(setenv "FZF_VERSION" ,version)
(setenv "FZF_REVISION" ,version)))
(replace 'build
(lambda _
(with-directory-excursion "src/github.com/junegunn/fzf"
(invoke "make"))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(mkdir-p (string-append out "/share"))
(with-directory-excursion "src/github.com/junegunn/fzf"
(invoke "make" "install")
(copy-recursively "bin" (string-append out "/bin"))
(copy-recursively "man" (string-append out "/share/man"))
(copy-recursively "shell" (string-append out "/share/fzf")))))))))
#:phases (modify-phases %standard-phases
(add-before 'build 'setup-env
(lambda _
(setenv "FZF_VERSION"
,version)
(setenv "FZF_REVISION"
,version)))
(replace 'build
(lambda _
(with-directory-excursion "src/github.com/junegunn/fzf"
(invoke "make"))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(mkdir-p (string-append out "/share"))
(with-directory-excursion "src/github.com/junegunn/fzf"
(invoke "make" "install")
(copy-recursively "bin"
(string-append out "/bin"))
(copy-recursively "man"
(string-append out "/share/man"))
(copy-recursively "shell"
(string-append out "/share/fzf")))))))))
(synopsis "Command line fuzzy finder")
(description
"@command{fzf} is a general purpose command line fuzzy finder. It's an
@ -113,23 +116,30 @@ files, command history, processes, hostnames, bookmarks, git commits, etc..")
"1l5vla2wyzcp96xxh41l4fsss23rshm8h7xnwkrziwa45y6jy7hj"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(delete 'configure)
(delete 'build)
(delete 'check)
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(func-path (string-append out "/share/zsh/site-functions"))
(install-path (string-append out "/lib/spaceship-prompt")))
(for-each mkdir-p `(,func-path ,install-path))
(for-each (lambda (dir)
(copy-recursively dir (string-append install-path "/" dir)))
'("lib" "modules" "sections"))
(copy-file "spaceship.zsh" (string-append install-path "/spaceship.zsh"))
(symlink (string-append install-path "/spaceship.zsh")
(string-append func-path "/prompt_spaceship_setup"))))))))
`(#:phases (modify-phases %standard-phases
(delete 'configure)
(delete 'build)
(delete 'check)
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(func-path (string-append out
"/share/zsh/site-functions"))
(install-path (string-append out
"/lib/spaceship-prompt")))
(for-each mkdir-p
`(,func-path ,install-path))
(for-each (lambda (dir)
(copy-recursively dir
(string-append
install-path "/" dir)))
'("lib" "modules" "sections"))
(copy-file "spaceship.zsh"
(string-append install-path
"/spaceship.zsh"))
(symlink (string-append install-path "/spaceship.zsh")
(string-append func-path
"/prompt_spaceship_setup"))))))))
(synopsis "Zsh prompt for Astronauts")
(description
"Spaceship is a minimalistic, powerful and extremely customizable

File diff suppressed because it is too large Load Diff

View File

@ -97,7 +97,8 @@
#:use-module (guix build-system trivial)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (srfi srfi-1)
@ -117,16 +118,14 @@
(base32
"05xbxldhm3cgdjysidzpc8wnq17mgd84mq60jmbq6zcc9jl21axh"))))
(build-system go-build-system)
(native-inputs
`(("gpgme" ,gpgme)
("pkg-config" ,pkg-config)
("libassuan" ,libassuan)
("libseccomp" ,libseccomp)
("go-md2man" ,go-md2man)))
(propagated-inputs
`(("runc" ,runc)
("conmon" ,conmon)
("slirp4netns" ,slirp4netns)))
(native-inputs `(("gpgme" ,gpgme)
("pkg-config" ,pkg-config)
("libassuan" ,libassuan)
("libseccomp" ,libseccomp)
("go-md2man" ,go-md2man)))
(propagated-inputs `(("runc" ,runc)
("conmon" ,conmon)
("slirp4netns" ,slirp4netns)))
(arguments
'(#:import-path "github.com/containers/libpod"
#:phases (modify-phases %standard-phases
@ -134,15 +133,14 @@
(lambda _
(with-directory-excursion "src/github.com/containers/libpod"
(setenv "HOME" "/tmp")
(invoke "make" "all"
"GIT_COMMIT=NONE"
(invoke "make" "all" "GIT_COMMIT=NONE"
"GIT_BRANCH=NONE"))))
;; FIXME: tests currently require docker
;; (replace 'check
;; (lambda _
;; (with-directory-excursion "src/github.com/containers/libpod"
;; (setenv "HOME" "/tmp")
;; (invoke "make" "test"))))
;; (lambda _
;; (with-directory-excursion "src/github.com/containers/libpod"
;; (setenv "HOME" "/tmp")
;; (invoke "make" "test"))))
(delete 'check)
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
@ -174,9 +172,8 @@ volumes.")
(base32
"0s23gm0cq4mylv882dr1n8bqql42674vny3z58yy77lwzmifc6id"))))
(build-system go-build-system)
(native-inputs
`(("pkg-config" ,pkg-config)
("glib" ,glib)))
(native-inputs `(("pkg-config" ,pkg-config)
("glib" ,glib)))
(arguments
'(#:import-path "github.com/containers/conmon"
#:phases (modify-phases %standard-phases
@ -184,9 +181,7 @@ volumes.")
(lambda _
(with-directory-excursion "src/github.com/containers/conmon"
(setenv "HOME" "/tmp")
(invoke "make" "all"
"CC=gcc"
"GIT_COMMIT=NONE"
(invoke "make" "all" "CC=gcc" "GIT_COMMIT=NONE"
"GIT_BRANCH=NONE"))))
(delete 'check)
(replace 'install
@ -217,41 +212,35 @@ container.")
(base32
"19yf93pq4vw24h76kl32c6ryvg5fp5mixakw9c6sqydf7m74z9i8"))))
(build-system go-build-system)
(inputs
`(("git" ,git)))
(propagated-inputs
`(("runc" ,runc)
("cni-plugins" ,cni-plugins)))
(native-inputs
`(("gpgme" ,gpgme)
("pkg-config" ,pkg-config)
("libassuan" ,libassuan)
("libseccomp" ,libseccomp)
("lvm2" ,lvm2)
("eudev" ,eudev)
("glib" ,glib)
("btrfs-progs" ,btrfs-progs)
("libostree" ,libostree)
("libselinux" ,libselinux)
("go-md2man" ,go-md2man)))
(inputs `(("git" ,git)))
(propagated-inputs `(("runc" ,runc)
("cni-plugins" ,cni-plugins)))
(native-inputs `(("gpgme" ,gpgme)
("pkg-config" ,pkg-config)
("libassuan" ,libassuan)
("libseccomp" ,libseccomp)
("lvm2" ,lvm2)
("eudev" ,eudev)
("glib" ,glib)
("btrfs-progs" ,btrfs-progs)
("libostree" ,libostree)
("libselinux" ,libselinux)
("go-md2man" ,go-md2man)))
(arguments
'(#:import-path "github.com/containers/buildah"
#:install-source? #f
#:phases
(modify-phases %standard-phases
(replace 'build
(lambda _
(with-directory-excursion "src/github.com/containers/buildah"
(setenv "HOME" "/tmp")
(invoke "make" "binary" "docs" "GIT_COMMIT=NONE"))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(with-directory-excursion "src/github.com/containers/buildah"
(invoke "make" "install"
"GIT_COMMIT=NONE"
(string-append "PREFIX=" out)))
#t))))))
#:phases (modify-phases %standard-phases
(replace 'build
(lambda _
(with-directory-excursion "src/github.com/containers/buildah"
(setenv "HOME" "/tmp")
(invoke "make" "binary" "docs" "GIT_COMMIT=NONE"))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(with-directory-excursion "src/github.com/containers/buildah"
(invoke "make" "install" "GIT_COMMIT=NONE"
(string-append "PREFIX=" out))) #t))))))
(synopsis "Tool that facilitates building OCI images")
(description
"Buildah provides a command line tool for creating and manipulating OCI
@ -278,8 +267,7 @@ container images.")
#:install-source? #f
#:phases %standard-phases))
(synopsis "Converts markdown into roff (man pages)")
(description
"Uses blackfriday to process markdown into man pages.")
(description "Uses blackfriday to process markdown into man pages.")
(home-page "https://github.com/cpuguy83/go-md2man")
(license license:expat)))
@ -300,29 +288,26 @@ container images.")
(arguments
'(#:import-path "github.com/containernetworking/plugins"
#:install-source? #f
#:phases
(modify-phases %standard-phases
(replace 'build
(lambda _
(with-directory-excursion "src/github.com/containernetworking/plugins"
(setenv "HOME" "/tmp")
(invoke "./build_linux.sh"))))
(delete 'check) ;; Tests currently use sudo
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(copy-recursively
"src/github.com/containernetworking/plugins/bin"
(string-append out "/usr/lib/cni"))
#t))))))
;; FIXME: Enable tests
;; (replace 'check
;; (lambda _
;; (with-directory-excursion "src/github.com/containernetworking/plugins"
;; (invoke "./test_linux.sh"))))
#:phases (modify-phases %standard-phases
(replace 'build
(lambda _
(with-directory-excursion "src/github.com/containernetworking/plugins"
(setenv "HOME" "/tmp")
(invoke "./build_linux.sh"))))
(delete 'check) ;Tests currently use sudo
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(copy-recursively
"src/github.com/containernetworking/plugins/bin"
(string-append out "/usr/lib/cni")) #t))))))
;; FIXME: Enable tests
;; (replace 'check
;; (lambda _
;; (with-directory-excursion "src/github.com/containernetworking/plugins"
;; (invoke "./test_linux.sh"))))
(synopsis "Some standard networking plugins, maintained by the CNI team")
(description
"A collection of CNI networking plugins.")
(description "A collection of CNI networking plugins.")
(home-page "https://github.com/containernetworking/plugins")
(license license:asl2.0)))
@ -333,7 +318,8 @@ container images.")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/rootless-containers/slirp4netns.git")
(url
"https://github.com/rootless-containers/slirp4netns.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
@ -343,14 +329,12 @@ container images.")
(arguments
;; TODO: Tests currently fail
'(#:tests? #f))
(inputs
`(("glib" ,glib)
("libcap" ,libcap)
("libseccomp" ,libseccomp)))
(native-inputs
`(("pkg-config" ,pkg-config)
("autoconf" ,autoconf)
("automake" ,automake)))
(inputs `(("glib" ,glib)
("libcap" ,libcap)
("libseccomp" ,libseccomp)))
(native-inputs `(("pkg-config" ,pkg-config)
("autoconf" ,autoconf)
("automake" ,automake)))
(synopsis "User-mode networking for unprivileged network namespaces")
(description
"slirp4netns allows connecting a network namespace to the Internet in a