ruby-coltrane.scm 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. (define-module (ruby-coltrane)
  2. #:use-module (guix packages)
  3. #:use-module (gnu packages ruby)
  4. #:use-module (guix utils)
  5. #:use-module (guix download)
  6. #:use-module (guix licenses)
  7. #:use-module (guix build-system ruby))
  8. (define-public ruby-paint
  9. (package
  10. (name "ruby-paint")
  11. (version "2.2.0")
  12. (source
  13. (origin
  14. (method url-fetch)
  15. (uri (rubygems-uri "paint" version))
  16. (sha256
  17. (base32
  18. "014b5rkbg6qri0cwkq972bfi93zvqdgswgvphjrgjl0pr6hywlkl"))))
  19. (build-system ruby-build-system)
  20. (synopsis
  21. "Terminal painter with RGB and 256 (fallback) color and terminal effects support. No string extensions! Usage: Paint['string', :red, :bright]")
  22. (description
  23. "Terminal painter with RGB and 256 (fallback) color and terminal effects support. No string extensions! Usage: Paint['string', :red, :bright]")
  24. (home-page "https://github.com/janlelis/paint")
  25. (license #f)))
  26. (define-public ruby-cli-ui
  27. (package
  28. (name "ruby-cli-ui")
  29. (version "1.3.0")
  30. (source
  31. (origin
  32. (method url-fetch)
  33. (uri (rubygems-uri "cli-ui" version))
  34. (sha256
  35. (base32
  36. "1ypsyl8x6kbvnxjfsidi2izcs4q0ljq3zv9lrgnn0awwa305x76p"))))
  37. (build-system ruby-build-system)
  38. (synopsis "Terminal UI framework")
  39. (description "Terminal framework")
  40. (home-page "https://github.com/shopify/cli-ui")
  41. (license #f)))
  42. (define-public ruby-gambiarra
  43. (package
  44. (name "ruby-gambiarra")
  45. (version "0.0.3")
  46. (source
  47. (origin
  48. (method url-fetch)
  49. (uri (rubygems-uri "gambiarra" version))
  50. (sha256
  51. (base32
  52. "0l8j579nc3ybch1mnribz2fsp7gzrx2xkk792nf53v91m7jd6f6v"))))
  53. (build-system ruby-build-system)
  54. (propagated-inputs
  55. `(("ruby-activesupport" ,ruby-activesupport)
  56. ("ruby-cli-ui" ,ruby-cli-ui)
  57. ("ruby-thor" ,ruby-thor)))
  58. (synopsis
  59. "An intuitive framework for CLI applications")
  60. (description
  61. "An intuitive framework for CLI applications")
  62. (home-page
  63. "https://github.com/pedrozath/gambiarra")
  64. (license #f)))
  65. (define-public ruby-dry-equalizer
  66. (package
  67. (name "ruby-dry-equalizer")
  68. (version "0.3.0")
  69. (source
  70. (origin
  71. (method url-fetch)
  72. (uri (rubygems-uri "dry-equalizer" version))
  73. (sha256
  74. (base32
  75. "0rsqpk0gjja6j6pjm0whx2px06cxr3h197vrwxp6k042p52r4v46"))))
  76. (build-system ruby-build-system)
  77. (synopsis
  78. "Module to define equality, equivalence and inspection methods")
  79. (description
  80. "Module to define equality, equivalence and inspection methods")
  81. (home-page
  82. "https://github.com/dry-rb/dry-equalizer")
  83. (license #f)))
  84. (define-public ruby-dry-core
  85. (package
  86. (name "ruby-dry-core")
  87. (version "0.4.9")
  88. (source
  89. (origin
  90. (method url-fetch)
  91. (uri (rubygems-uri "dry-core" version))
  92. (sha256
  93. (base32
  94. "0k9ff2sr4ymiwzg4mchzv66mn6rdsgjlinm6s4x5x91yhd0h4vpk"))))
  95. (build-system ruby-build-system)
  96. (propagated-inputs
  97. `(("ruby-concurrent-ruby" ,ruby-concurrent-ruby)))
  98. (synopsis
  99. "A toolset of small support modules used throughout the dry-rb ecosystem.")
  100. (description
  101. "This package provides a toolset of small support modules used throughout the dry-rb ecosystem.")
  102. (home-page "https://github.com/dry-rb/dry-core")
  103. (license #f)))
  104. (define-public ruby-concurrent-ruby
  105. (package
  106. (name "ruby-concurrent-ruby")
  107. (version "1.1.6")
  108. (source
  109. (origin
  110. (method url-fetch)
  111. (uri (rubygems-uri "concurrent-ruby" version))
  112. (sha256
  113. (base32
  114. "094387x4yasb797mv07cs3g6f08y56virc2rjcpb1k79rzaj3nhl"))))
  115. (build-system ruby-build-system)
  116. (synopsis
  117. "Modern concurrency tools including agents, futures, promises, thread pools, actors, supervisors, and more.
  118. Inspired by Erlang, Clojure, Go, JavaScript, actors, and classic concurrency patterns.
  119. ")
  120. (description
  121. "Modern concurrency tools including agents, futures, promises, thread pools, actors, supervisors, and more.
  122. Inspired by Erlang, Clojure, Go, JavaScript, actors, and classic concurrency patterns.
  123. ")
  124. (home-page "http://www.concurrent-ruby.com")
  125. (license #f)))
  126. (define-public ruby-dry-monads
  127. (package
  128. (name "ruby-dry-monads")
  129. (version "1.3.5")
  130. (source
  131. (origin
  132. (method url-fetch)
  133. (uri (rubygems-uri "dry-monads" version))
  134. (sha256
  135. (base32
  136. "151czj5882x38fnxgqwc7i9gnvh5yv7z823mzx1yv1s6hl39av1g"))))
  137. (build-system ruby-build-system)
  138. (propagated-inputs
  139. `(("ruby-concurrent-ruby" ,ruby-concurrent-ruby)
  140. ("ruby-dry-core" ,ruby-dry-core)
  141. ("ruby-dry-equalizer" ,ruby-dry-equalizer)))
  142. (synopsis "Common monads for Ruby.")
  143. (description "Common monads for Ruby.")
  144. (home-page
  145. "https://github.com/dry-rb/dry-monads")
  146. (license #f)))
  147. (define-public ruby-color
  148. (package
  149. (name "ruby-color")
  150. (version "1.8")
  151. (source
  152. (origin
  153. (method url-fetch)
  154. (uri (rubygems-uri "color" version))
  155. (sha256
  156. (base32
  157. "10kgsdy86p72q6cf2k92larmbjc0crvd5xq7hy919zm8yvn1518a"))))
  158. (build-system ruby-build-system)
  159. (synopsis
  160. "Color is a Ruby library to provide basic RGB, CMYK, HSL, and other colourspace
  161. manipulation support to applications that require it. It also provides 152
  162. named RGB colours (184 with spelling variations) that are commonly supported in
  163. HTML, SVG, and X11 applications. A technique for generating monochromatic
  164. contrasting palettes is also included.
  165. The Color library performs purely mathematical manipulation of the colours
  166. based on colour theory without reference to colour profiles (such as sRGB or
  167. Adobe RGB). For most purposes, when working with RGB and HSL colour spaces,
  168. this won't matter. Absolute colour spaces (like CIE L*a*b* and XYZ) and cannot
  169. be reliably converted to relative colour spaces (like RGB) without colour
  170. profiles.
  171. Color 1.8 adds an alpha parameter to all <tt>#css_rgba</tt> calls, fixes a bug
  172. exposed by new constant lookup semantics in Ruby 2, and ensures that
  173. <tt>Color.equivalent?</tt> can only be called on Color instances.
  174. Barring bugs introduced in this release, this (really) is the last version of
  175. color that supports Ruby 1.8, so make sure that your gem specification is set
  176. properly (to <tt>~> 1.8</tt>) if that matters for your application. This
  177. version will no longer be supported one year after the release of color 2.0.")
  178. (description
  179. "Color is a Ruby library to provide basic RGB, CMYK, HSL, and other colourspace
  180. manipulation support to applications that require it. It also provides 152
  181. named RGB colours (184 with spelling variations) that are commonly supported in
  182. HTML, SVG, and X11 applications. A technique for generating monochromatic
  183. contrasting palettes is also included.
  184. The Color library performs purely mathematical manipulation of the colours
  185. based on colour theory without reference to colour profiles (such as sRGB or
  186. Adobe RGB). For most purposes, when working with RGB and HSL colour spaces,
  187. this won't matter. Absolute colour spaces (like CIE L*a*b* and XYZ) and cannot
  188. be reliably converted to relative colour spaces (like RGB) without colour
  189. profiles.
  190. Color 1.8 adds an alpha parameter to all <tt>#css_rgba</tt> calls, fixes a bug
  191. exposed by new constant lookup semantics in Ruby 2, and ensures that
  192. <tt>Color.equivalent?</tt> can only be called on Color instances.
  193. Barring bugs introduced in this release, this (really) is the last version of
  194. color that supports Ruby 1.8, so make sure that your gem specification is set
  195. properly (to <tt>~> 1.8</tt>) if that matters for your application. This
  196. version will no longer be supported one year after the release of color 2.0.")
  197. (home-page "https://github.com/halostatue/color")
  198. (license #f)))
  199. (define-public ruby-coltrane
  200. (package
  201. (name "ruby-coltrane")
  202. (version "4.0.6")
  203. (source
  204. (origin
  205. (method url-fetch)
  206. (uri (rubygems-uri "coltrane" version))
  207. (sha256
  208. (base32
  209. "1la870pl8fdlqsw0zmxkwy29xycahcf6aspblshgqqalwjccz4sy"))))
  210. (build-system ruby-build-system)
  211. (propagated-inputs
  212. `(("ruby-activesupport" ,ruby-activesupport)
  213. ("ruby-color" ,ruby-color)
  214. ("ruby-dry-monads" ,ruby-dry-monads)
  215. ("ruby-gambiarra" ,ruby-gambiarra)
  216. ("ruby-paint" ,ruby-paint)))
  217. (synopsis
  218. "It deals with all sorts of calculations around music theory and allows for graphical representations of it")
  219. (description
  220. "It deals with all sorts of calculations around music theory and allows for graphical representations of it")
  221. (home-page
  222. "http://github.com/pedrozath/coltrane")
  223. (license #f)))
  224. ruby-paint
  225. ruby-cli-ui
  226. ruby-gambiarra
  227. ruby-dry-equalizer
  228. ruby-dry-core
  229. ruby-concurrent-ruby
  230. ruby-dry-monads
  231. ruby-color
  232. ruby-coltrane