lxc.scm 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. (define-module (rain lxc)
  2. #:use-module ((guix licenses) #:prefix license:)
  3. #:use-module (guix packages)
  4. #:use-module (gnu packages)
  5. #:use-module (gnu packages xorg)
  6. #:use-module (gnu packages image)
  7. #:use-module (gnu packages lua)
  8. #:use-module (gnu packages python)
  9. #:use-module (gnu packages pkg-config)
  10. #:use-module (guix download)
  11. #:use-module (guix git-download)
  12. #:use-module (guix build-system gnu)
  13. )
  14. (define-public lxc
  15. (package
  16. (name "lxc")
  17. (version "1.1.5")
  18. (source (origin
  19. (method url-fetch)
  20. (uri (string-append "https://linuxcontainers.org/downloads/lxc/lxc-"
  21. version ".tar.gz"))
  22. (sha256
  23. (base32
  24. "1gnhgs4i2zamfdydj895inr9i072658wd47nf1ryw5710hdsv24m"))))
  25. (build-system gnu-build-system)
  26. (arguments
  27. '(#:configure-flags (list "--enable-rpath")
  28. #:make-flags (list "CC=gcc"
  29. (string-append "PREFIX=" %output))))
  30. (inputs
  31. `(("lua" ,lua)
  32. ("python" ,python)))
  33. (home-page "https://linuxcontainers.org/")
  34. (synopsis "linux containers")
  35. (description "LXC is the well known set of tools, templates, library and language bindings. It's pretty low level, very flexible and covers just about every containment feature supported by the upstream kernel.")
  36. (license license:lgpl2.1+)))