aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorEfraim Flashner2019-11-14 09:44:19 -0600
committerEfraim Flashner2019-11-14 09:44:19 -0600
commit57a4c4d6ae935c62ac9ac1b5e4a116bc24e7d0c8 (patch)
tree52f8ef73c5364e3af35800b3802f19ed60345552 /gn/packages
parent65e7fecdca421a6de9fa43031eed7ac698397f59 (diff)
downloadguix-bioinformatics-57a4c4d6ae935c62ac9ac1b5e4a116bc24e7d0c8.tar.gz
gn: Add kubernetes,crictl 1.13
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/kubernetes.scm41
1 files changed, 41 insertions, 0 deletions
diff --git a/gn/packages/kubernetes.scm b/gn/packages/kubernetes.scm
index 78753a8..d90b367 100644
--- a/gn/packages/kubernetes.scm
+++ b/gn/packages/kubernetes.scm
@@ -131,6 +131,23 @@ deployment, maintenance, and scaling of applications.")
(propagated-inputs
`(("crictl" ,crictl-1.14)))))
+(define-public kubernetes-1.13
+ (package
+ (inherit kubernetes)
+ (name "kubernetes")
+ (version "1.13.12")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kubernetes/kubernetes.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1drbd0qdj7pala78hda1aag2vq791sbk5a13c060a15d77ppnzwr"))))
+ (propagated-inputs
+ `(("crictl" ,crictl-1.13)))))
+
(define-public minikube
(package
(name "minikube")
@@ -272,3 +289,27 @@ tools for Kubelet CRI.")
(substitute* "Makefile"
(("^VERSION .*") (string-append "VERSION := " ,version "\n")))
#t))))))))
+
+(define-public crictl-1.13
+ (package
+ (inherit crictl-1.15)
+ (name "crictl")
+ (version "1.13.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kubernetes-sigs/cri-tools.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0xq3fvarx1x2bjyg3cj2jh3vz4lghb5mw2hhqb8ylflr8phd22cx"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments crictl-1.15)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (replace 'update-version
+ (lambda _
+ (substitute* "Makefile"
+ (("^VERSION .*") (string-append "VERSION := " ,version "\n")))
+ #t))))))))