Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr-ressources
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Learning Lab
mooc-rr-ressources
Commits
865d8990
Commit
865d8990
authored
Sep 01, 2019
by
Konrad Hinsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Afficher les versions des paquets sous Guix
parent
1c4c9cb0
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
908 additions
and
3 deletions
+908
-3
guix_tutorial_fr.org
module5/ressources/guix_tutorial_fr.org
+837
-3
all-dependencies.scm
module5/ressources/moocrr_guix_jupyter/all-dependencies.scm
+40
-0
installed-dependencies.scm
...ressources/moocrr_guix_jupyter/installed-dependencies.scm
+31
-0
No files found.
module5/ressources/guix_tutorial_fr.org
View file @
865d8990
This diff is collapsed.
Click to expand it.
module5/ressources/moocrr_guix_jupyter/all-dependencies.scm
0 → 100644
View file @
865d8990
(
use-modules
(
guix
profiles
)
(
guix
packages
)
(
gnu
packages
)
(
srfi
srfi-1
))
(
define
manifest
(
specifications->manifest
'
(
"jupyter"
"python-matplotlib"
"python-numpy"
"python-pandas"
"python-statsmodels"
"python-nbconvert"
)))
(
define
(
manifest-entry->package
entry
)
(
car
(
find-packages-by-name
(
manifest-entry-name
entry
)
(
manifest-entry-version
entry
))))
(
define
(
package->name-and-version
entry
)
(
string-append
(
package-name
entry
)
"@"
(
package-version
entry
)
"\n"
))
(
define
packages-in-manifest
(
map
manifest-entry->package
(
manifest-entries
manifest
)))
(
define
closure-of-manifest
(
package-closure
packages-in-manifest
))
(
define
package-names-in-closure
(
stable-sort
(
delete-duplicates
(
map
package->name-and-version
closure-of-manifest
))
string<
))
(
format
#t
"~a packages:\n"
(
length
package-names-in-closure
))
(
format
#t
"~a"
(
apply
string-append
package-names-in-closure
))
module5/ressources/moocrr_guix_jupyter/installed-dependencies.scm
0 → 100644
View file @
865d8990
(
use-modules
(
guix
profiles
)
(
gnu
packages
)
(
srfi
srfi-1
))
(
define
manifest
(
specifications->manifest
'
(
"jupyter"
"python-matplotlib"
"python-numpy"
"python-pandas"
"python-statsmodels"
"python-nbconvert"
)))
(
define
(
manifest-entry-name-and-version
entry
)
(
string-append
(
manifest-entry-name
entry
)
"@"
(
manifest-entry-version
entry
)
"\n"
))
(
define
transitive-entries
(
manifest-transitive-entries
manifest
))
(
define
transitive-packages
(
delete-duplicates
(
stable-sort
(
map
manifest-entry-name-and-version
transitive-entries
)
string<
)))
(
format
#t
"~a packages:\n"
(
length
transitive-packages
))
(
format
#t
"~a"
(
apply
string-append
transitive-packages
))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment