manifest.scm 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. (use-modules (guix packages) (guix git-download) (guix build-system python) (gnu packages)
  2. (gnu packages python-xyz) (gnu packages check) (guix gexp) (gnu packages python)
  3. (guix profiles) (gnu packages machine-learning)
  4. (gnu packages qt)
  5. (gnu packages video)
  6. (guix download)
  7. (gnu packages python-science)
  8. ;; (gnu packages python-)
  9. ((guix licenses) #:prefix license:))
  10. (define-public python-intersect
  11. (package
  12. (name "python-intersect")
  13. (version "1.2")
  14. (source
  15. ;; The README loaded by setup.py is missing from the pypi tarball, so
  16. ;; build from git instead. The commit
  17. ;; bec8adc2573fd8428a561a2d32db57e864137036 seems to be the commit
  18. ;; the tarball was based upon. However, this commit contains compiled
  19. ;; compiled python code, so use a later commit that removed these binaries.
  20. ;; There are no other differences except for changes to the readme.md.
  21. (origin
  22. (method git-fetch)
  23. (uri
  24. (git-reference
  25. (url "https://github.com/sukhbinder/intersection")
  26. (commit "05af4878d5d528b9cccc721a81b549fa2b209c34")))
  27. (sha256
  28. (base32 "0w45i758wz5yslkjpms323v8paqnhhn3pfkvld07bh0w9filyp6x" #;"2jfp12ccljs92x5asxm5hiw40z49j3h8nxkqsnjjb38cfkrs7zll"))))
  29. (build-system python-build-system)
  30. (native-inputs (list python-pytest python-setuptools-scm))
  31. (propagated-inputs (list python-numpy))
  32. (home-page "https://github.com/sukhbinder/intersection")
  33. (synopsis "Intersection of two curves")
  34. (description "Intersection of two curves")
  35. (license license:expat)))
  36. (define-public python-ithildin
  37. (package
  38. (name "python-ithildin")
  39. (version "0.3.1")
  40. (source
  41. (origin
  42. (method git-fetch)
  43. (uri
  44. (git-reference
  45. ;; The official location is at https://gitlab.kuleuven.be, but that's
  46. ;; not publicly accessible.
  47. (url "https://gitlab.com/heartkor/py_ithildin")
  48. (commit "610d9d0f1d68214c2835599d674a93e48e92dd05")))
  49. (sha256
  50. (base32 "0bqvv6zc6mp44xipj18v53951v27d96a816p84xl2ig0hrb348zi" #;"09s1ig80qrn6iw8rbyicf8j2bvgvp0f77j2j3xjddrnaa06jrl9w"))))
  51. (build-system python-build-system)
  52. (native-inputs (list python-setuptools python-setuptools-scm))
  53. (propagated-inputs
  54. (list python-numpy python-scipy
  55. python-click
  56. python-matplotlib
  57. python-networkx
  58. python-numpy
  59. python-scipy
  60. python-pyyaml
  61. python-intersect))
  62. ;; TODO: add ffmpeg
  63. (arguments
  64. (list #:phases
  65. #~(modify-phases %standard-phases
  66. ;; Upstream's setup.py does not set the 'version' field and
  67. ;; instead relies on python-setuptools-scm to determine the
  68. ;; version, but in the build environment python-setuptools-scm
  69. ;; does not have enough information do determine the version.
  70. ;; Help setup.py with determining the version number.
  71. (add-after 'unpack 'find-version
  72. (lambda _
  73. (substitute* "setup.py"
  74. (("use_scm_version=True")
  75. (format #f "version=\"~a\"" #$version))
  76. (("^setup_requires=.*$") "")))))))
  77. (home-page "https://github.com/heartkor/py_ithildin")
  78. (synopsis #f)
  79. (description #f)
  80. (license license:gpl3)))
  81. ;; 4wells_traj.npy, *.npy
  82. (define-public python-pydiffmap
  83. (package
  84. (name "python-pydiffmap")
  85. (version "0.2.0.1")
  86. (source
  87. (origin
  88. (method url-fetch)
  89. (uri (pypi-uri "pydiffmap" version))
  90. (sha256
  91. (base32 "0hm003jfcb73gblc4abb36i7sc7gqcisj84vrggnibd7x7ajvxis"))))
  92. (build-system python-build-system)
  93. (propagated-inputs
  94. (list python-matplotlib
  95. python-numexpr
  96. python-numpy
  97. python-scikit-learn
  98. python-scipy
  99. python-six))
  100. (home-page "https://github.com/DiffusionMapsAcademics/pyDiffMap")
  101. (synopsis "Library for constructing variable bandwidth diffusion maps")
  102. (description "Library for constructing variable bandwidth diffusion maps")
  103. (license license:expat)))
  104. (packages->manifest
  105. (list (specification->package "emacs")
  106. (specification->package "emacs-elpy")
  107. (specification->package "emacs-magit")
  108. (specification->package "git")
  109. (specification->package "python-wrapper")
  110. (specification->package "glibc-locales")
  111. (specification->package "glibc")
  112. (specification->package "coreutils")
  113. (specification->package "bash")
  114. ffmpeg
  115. python-pydiffmap
  116. python-pyqt
  117. python python-ithildin))