diff options
author | Efraim Flashner | 2019-11-14 06:44:44 -0600 |
---|---|---|
committer | Efraim Flashner | 2019-11-14 06:44:44 -0600 |
commit | 65e7fecdca421a6de9fa43031eed7ac698397f59 (patch) | |
tree | a7bdf7e989b60cd4010d8a1f977da6d144bd9397 /gn/packages/kubernetes.scm | |
parent | c98761d96107676e24d06a1213ff992dfcd03aa4 (diff) | |
download | guix-bioinformatics-65e7fecdca421a6de9fa43031eed7ac698397f59.tar.gz |
gn: Add kubernetes, crictl 1.14
Diffstat (limited to 'gn/packages/kubernetes.scm')
-rw-r--r-- | gn/packages/kubernetes.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gn/packages/kubernetes.scm b/gn/packages/kubernetes.scm index 39d7f04..78753a8 100644 --- a/gn/packages/kubernetes.scm +++ b/gn/packages/kubernetes.scm @@ -114,6 +114,23 @@ deployment, maintenance, and scaling of applications.") (propagated-inputs `(("crictl" ,crictl-1.15))))) +(define-public kubernetes-1.14 + (package + (inherit kubernetes) + (name "kubernetes") + (version "1.14.9") + (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 + "06w2jjd89jjzmc0db1fgwnsyfwjr07chh8q3zvmx5pznprvv485l")))) + (propagated-inputs + `(("crictl" ,crictl-1.14))))) + (define-public minikube (package (name "minikube") @@ -231,3 +248,27 @@ tools for Kubelet CRI.") (("GOOS=windows") "CGO_ENABLED=0") (("_output") "../bin")) #t))))))))) + +(define-public crictl-1.14 + (package + (inherit crictl-1.15) + (name "crictl") + (version "1.14.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 + "0yzb2vpypf2psrmbaqfh1fw6nba5mzdqr99lkga1204xygs863by")))) + (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)))))))) |