From 376363faf963bdbe05228cbe13880c1fd5661f21 Mon Sep 17 00:00:00 2001 From: JEAN-FRANCOIS GUILLAUME Date: Thu, 1 Sep 2022 11:08:00 +0200 Subject: [PATCH] updating ansible --- glicid/packages/admin.scm | 38 ++++++++++++++++++++++++++++++++++++++ glicid/packages/python.scm | 15 +++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/glicid/packages/admin.scm b/glicid/packages/admin.scm index 2f877a2..aef6d8b 100644 --- a/glicid/packages/admin.scm +++ b/glicid/packages/admin.scm @@ -10,10 +10,12 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages tls) #:use-module (guix build-system gnu) + #:use-module (guix build-system python) #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) + #:use-module (glicid packages python) ) @@ -52,3 +54,39 @@ cyrus-sasl))) (native-inputs (modify-inputs (package-native-inputs sudo-minimal) (append pkg-config)))))) + +(define-public ansible + (package + (inherit gnu:ansible) + (name "ansible") + (version "6.3.0") + (source (origin + (method url-fetch) + (uri (pypi-uri name version)) + (sha256 (base32 "09im4w38bm36arjxmi0jbdrmv6cgnjq4b5ks4kawhicdbb0rzynm")) + )) + ) +) + +(define-public ansible-core + (package + (inherit gnu:ansible-core) + (name "ansible-core") + (version "2.13.3") + (source (origin + (method url-fetch) + (uri (pypi-uri name version)) + (sha256 (base32 "120rrpj8pqscdf2llipxxvpmg4fxqr3s0vx32f6hq77z60jh9igf")) + )) + (arguments + `( + #:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'sanity-check) + ) + ) + ) + ) +) + diff --git a/glicid/packages/python.scm b/glicid/packages/python.scm index 36c9493..1be15f5 100644 --- a/glicid/packages/python.scm +++ b/glicid/packages/python.scm @@ -18,3 +18,18 @@ ) ) ) + +;(define-public python-3.10 +; (package +; (inherit python-3.9) +; (name "python") +; (version "3.10.6") +; (source +; (origin +; (method url-fetch) +; (uri (string-append "https://www.python.org/ftp/python/" version "/Python-" version ".tar.xz")) +; (sha256 (base32 "1wyknqk46ay2k05118isb2jdhj46qaq5325w6dy0qjqxs63zz5gp")) +; ) +; ) +; ) +;)