DRAFT: Remove drafts of 2020.01.10 version.

This commit is contained in:
Pierre Neidhardt 2020-02-28 14:28:46 +01:00
parent 81940413ed
commit d2fef7eaf6

View File

@ -1405,123 +1405,3 @@ command line interface.")
(description "This is the Mono version of Microsoft Build Engine, the
build platform for .NET, and Visual Studio.")
(license license:expat))))
;; (define-public msbuild
;; (let ((date "2020.01.10.05.36"))
;; (package
;; (name "msbuild")
;; (version "16.5")
;; (source
;; (origin
;; (method git-fetch)
;; (uri (git-reference
;; (url "https://github.com/mono/linux-packaging-msbuild")
;; (commit (string-append "upstream/" version "+xamarinxplat." date))))
;; (file-name (git-file-name name version))
;; (sha256
;; (base32
;; "1knircr25qxvmm5v3mar3xfvcycrbn4l03kyhfx8jmyzjxf5slcg"))))
;; (build-system gnu-build-system)
;; (inputs
;; `(("mono" ,mono)))
;; (native-inputs
;; `(("dotnet-sdk" ,dotnet-sdk)
;; ("unzip" ,unzip)))
;; (arguments
;; `(#:phases
;; (modify-phases %standard-phases
;; (delete 'configure)
;; (replace 'build
;; (lambda _
;; ;; TODO there are some (many?) failing tests
;; (invoke "./eng/cibuild_bootstrapped_msbuild.sh"
;; "--host_type" "mono"
;; "--configuration" "Release"
;; "--skip_tests" "/p:DisableNerdbankVersioning=true"))))))
;; (supported-systems '("x86_64-linux"))
;; (home-page "https://github.com/mono/msbuild;")
;; (synopsis "Implementation of the Microsoft build system for Mono")
;; (description "This is the Mono version of Microsoft Build Engine, the
;; build platform for .NET, and Visual Studio.")
;; (license license:expat))))
;; (define-public msbuild
;; (let ((date "2020.01.10.05.36")
;; (bootstrap-version "0.08"))
;; (package
;; (name "msbuild")
;; (version "16.5")
;; (source
;; (origin
;; (method url-fetch)
;; (uri (string-append
;; "https://download.mono-project.com/sources/msbuild/msbuild-"
;; version "+xamarinxplat." date ".tar.xz")) ;
;; ;; (file-name (git-file-name name version))
;; (sha256
;; (base32
;; "19ki9ch4wxkh0l9jnsjr5fc7zx6lmpkmdklk3wxwsgmdakn3jws8"
;; ;; "1knircr25qxvmm5v3mar3xfvcycrbn4l03kyhfx8jmyzjxf5slcg"
;; ))))
;; (build-system gnu-build-system)
;; (inputs
;; `(("mono" ,mono)))
;; (native-inputs
;; `(("dotnet-sdk" ,dotnet-sdk)
;; ("unzip" ,unzip)
;; ("xplat" ,(origin
;; (method url-fetch)
;; ;; (uri "https://github.com/mono/msbuild/releases/download/0.07/mono_msbuild_xplat-master-8f608e49.zip")
;; (uri (string-append "https://github.com/mono/msbuild/releases/download/"
;; bootstrap-version "/mono_msbuild_6.4.0.208.zip"))
;; ;; (file-name "mono_msbuild_6.4.0.208.zip")
;; (sha256
;; (base32
;; "0w9x1sj8nrsfghf7qm7dbcbc4yxhnzyhsrpl5slblfiyrwddm3xk"
;; ;; "1jxq3fk9a6q2a8i9zacxaz3fkvc22i9qvzlpa7wbb95h42g0ffhq"
;; ))))))
;; (arguments
;; `(#:phases
;; (modify-phases %standard-phases
;; (delete 'configure)
;; (replace 'build
;; (lambda* (#:key inputs #:allow-other-keys)
;; (let* ((unzip (string-append (assoc-ref inputs "unzip") "/bin/unzip"))
;; (xplat (assoc-ref inputs "xplat"))
;; (dotnet-sdk (assoc-ref inputs "dotnet-sdk"))
;; (libhostfxr (string-append dotnet-sdk "/host/fxr/3.1.1/libhostfxr.so")))
;; (mkdir-p "artifacts")
;; (invoke unzip xplat "-d" "artifacts")
;; (rename-file ;; (string-append "artifacts/msbuild-" ,bootstrap-version)
;; "artifacts/msbuild" "artifacts/mono-msbuild")
;; (chmod "artifacts/mono-msbuild/MSBuild.dll" #o755)
;; (symlink libhostfxr
;; (string-append
;; "artifacts/mono-msbuild/SdkResolvers/Microsoft.DotNet.MSBuildSdkResolver/"
;; (basename libhostfxr)))
;; ;; Prevent installer from running.
;; (with-output-to-file "eng/common/dotnet-install.sh"
;; (lambda _
;; (format #t "#!~a/bin/bash~%" (which "bash"))))
;; ;; msbuild response files to use only our source
;; (with-output-to-file "artifacts/mono-msbuild/MSBuild.rsp"
;; (lambda _
;; (display "/p:RestoreSources=guix\n")))
;; (with-output-to-file "src/MSBuild/MSBuild.rsp"
;; (lambda _
;; (display "/p:RestoreSources=guix\n")))
;; (substitute* "./eng/cibuild_bootstrapped_msbuild.sh"
;; (("\t/bin/bash") (string-append "\t" (which "bash"))))
;; (pk 'BUILDING)
;; (invoke "./eng/cibuild_bootstrapped_msbuild.sh"
;; "--host_type" "mono"
;; "--configuration" "Release"
;; ;; TODO there are some (many?) failing tests
;; "--skip_tests" "/p:DisableNerdbankVersioning=true")))))))
;; (supported-systems '("x86_64-linux"))
;; (home-page "https://github.com/mono/msbuild;")
;; (synopsis "Implementation of the Microsoft build system for Mono")
;; (description "This is the Mono version of Microsoft Build Engine, the
;; build platform for .NET, and Visual Studio.")
;; (license license:expat))))