nongnu: Add intune.
* nongnu/packages/intune.scm (intune): New variable.
This commit is contained in:
parent
6d4128d05d
commit
6d357931ec
|
@ -43,6 +43,89 @@
|
||||||
#:use-module ((guix licenses)
|
#:use-module ((guix licenses)
|
||||||
#:prefix license:))
|
#:prefix license:))
|
||||||
|
|
||||||
|
(define-public intune
|
||||||
|
(package
|
||||||
|
(name "intune")
|
||||||
|
(version "1.2211.21")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/i/intune-portal/intune-portal_"
|
||||||
|
version "_amd64.deb"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1m3d0f0x27c4ahv2h0035yw3ihcihw2r31h0in8r34r45nmq2r39"))))
|
||||||
|
(build-system binary-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:patchelf-plan #~`(("opt/microsoft/intune/bin/intune-agent" ("atk"
|
||||||
|
"libx11"
|
||||||
|
"libsecret"
|
||||||
|
"openssl"
|
||||||
|
"libsoup-minimal"
|
||||||
|
"util-linux"
|
||||||
|
"gtk+"
|
||||||
|
"glibc"
|
||||||
|
"zlib"
|
||||||
|
"inetutils"
|
||||||
|
"sqlite"
|
||||||
|
"curl"
|
||||||
|
"libstdc++"
|
||||||
|
"gcc"
|
||||||
|
"webkitgtk-with-libsoup2"
|
||||||
|
"glib"))
|
||||||
|
("opt/microsoft/intune/bin/intune-portal" ("atk"
|
||||||
|
"libx11"
|
||||||
|
"libsecret"
|
||||||
|
"libsoup-minimal"
|
||||||
|
"openssl"
|
||||||
|
"util-linux"
|
||||||
|
"glibc"
|
||||||
|
"gtk+"
|
||||||
|
"zlib"
|
||||||
|
"sqlite"
|
||||||
|
"inetutils"
|
||||||
|
"pango"
|
||||||
|
"curl"
|
||||||
|
"libstdc++"
|
||||||
|
"gcc"
|
||||||
|
"webkitgtk-with-libsoup2"
|
||||||
|
"glib")))
|
||||||
|
#:install-plan #~`(("opt/microsoft/intune/bin" "bin"))
|
||||||
|
#:phases #~(modify-phases %standard-phases
|
||||||
|
(delete 'validate-runpath)
|
||||||
|
(replace 'unpack
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(let ((debian-files (assoc-ref inputs "source")))
|
||||||
|
(invoke "ar" "x" debian-files)
|
||||||
|
(invoke "tar" "xJf" "data.tar.xz")))))))
|
||||||
|
(inputs (list atk
|
||||||
|
libx11
|
||||||
|
curl
|
||||||
|
;; msalsdk-dbusclient
|
||||||
|
libsecret
|
||||||
|
libsoup-minimal-2
|
||||||
|
glibc
|
||||||
|
openssl
|
||||||
|
(make-libstdc++ gcc)
|
||||||
|
inetutils ;for hostname
|
||||||
|
`(,util-linux "lib")
|
||||||
|
webkitgtk-with-libsoup2
|
||||||
|
`(,gcc "lib")
|
||||||
|
pango
|
||||||
|
gtk+
|
||||||
|
sqlite
|
||||||
|
;; systemd
|
||||||
|
zlib
|
||||||
|
glib))
|
||||||
|
(synopsis "Microsoft Intune Endpoint Agent")
|
||||||
|
(description "This package provides Microsoft Endpoint Manager to protect
|
||||||
|
organization-owned data on devices.")
|
||||||
|
(home-page
|
||||||
|
"https://docs.microsoft.com/en-us/mem/intune/fundamentals/what-is-intune")
|
||||||
|
;; Well what to do
|
||||||
|
;; https://docs.microsoft.com/en-us/mem/intune/fundamentals/licenses
|
||||||
|
(license #f)))
|
||||||
|
|
||||||
(define-public msalsdk-dbusclient
|
(define-public msalsdk-dbusclient
|
||||||
(package
|
(package
|
||||||
(name "msalsdk-dbusclient")
|
(name "msalsdk-dbusclient")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user