diff options
| author | unmush <unmush@hashbang.sh> | 2024-11-26 13:13:40 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2024-12-22 15:37:34 +0200 |
| commit | 6e8c6cfafa0e8b9937098ce136a67e4ca4a2155a (patch) | |
| tree | 9a11cb77648c6952b4de0be8c56760b207d32f0e /gnu | |
| parent | 60314dbf81638b86b3a4ad4872f9e938f8a957cd (diff) | |
gnu: Add mono-3.0.
* gnu/packages/dotnet.scm (mono-3.0.12-external-repo-specs, mono-3.0):
New variables.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I9f8827b22b781d22f9aa686274fc6a88273077fb
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/dotnet.scm | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/gnu/packages/dotnet.scm b/gnu/packages/dotnet.scm index 55333985e2e..61d480dbbd2 100644 --- a/gnu/packages/dotnet.scm +++ b/gnu/packages/dotnet.scm | |||
| @@ -620,3 +620,65 @@ a C-style programming language from Microsoft that is very similar to Java.") | |||
| 620 | license:bsd-4 | 620 | license:bsd-4 |
| 621 | ;; mcs/class/System.Core/System/TimeZoneInfo.Android.cs | 621 | ;; mcs/class/System.Core/System/TimeZoneInfo.Android.cs |
| 622 | license:asl2.0)))) | 622 | license:asl2.0)))) |
| 623 | |||
| 624 | (define mono-3.0.12-external-repo-specs | ||
| 625 | ;; format: ({reponame OR (reponame dir-name)} commit sha256) ... | ||
| 626 | ;; if reponame starts with https:// it is treated as the repository url, | ||
| 627 | ;; otherwise the name of a repository under https://github.com/mono/ | ||
| 628 | '(("aspnetwebstack" "e77b12e6cc5ed260a98447f609e887337e44e299" | ||
| 629 | "0rks344qr4fmp3fs1264d2qkmm348m8d1kjd7z4l94iiirwn1fq1") | ||
| 630 | ("cecil" "54e0a50464edbc254b39ea3c885ee91ada730705" | ||
| 631 | "007szbf5a14q838695lwdp7ap6rwzz3kzllgjfnibzlqipw3x2yk") | ||
| 632 | ("entityframework" "a5faddeca2bee08636f1b7b3af8389bd4119f4cd" | ||
| 633 | "0b05pzf6qwdd92pbzym32nfmw8rq36820vdzakq1kykfmddjr9a7") | ||
| 634 | (("ikvm-fork" "ikvm") "10b8312c8024111780ee382688cd4c8754b1f1ac" | ||
| 635 | "025wf9gjgfvrq42vgw91ahy3cmzcw094vx783dsp7gjdyd8q09nm") | ||
| 636 | ("Lucene.Net" "88fb67b07621dfed054d8d75fd50672fb26349df" | ||
| 637 | "1rfxqfz7hkp9rg5anvxlv6fna0xi0bnv1y8qbhf8x48l08yjb38k") | ||
| 638 | ("Newtonsoft.Json" "471c3e0803a9f40a0acc8aeceb31de6ff93a52c4" | ||
| 639 | "0dgngd5hqk6yhlg40kabn6qdnknm32zcx9q6bm2w31csnsk5978s") | ||
| 640 | ("rx" "17e8477b2cb8dd018d49a567526fe99fd2897857" | ||
| 641 | "0fyyy4jf0mma6kff6fvbvdcs5ra1bz4s063nvjjva9xlnv7sjvh4"))) | ||
| 642 | |||
| 643 | (define-public mono-3.0 | ||
| 644 | (package | ||
| 645 | (inherit mono-2.11.4) | ||
| 646 | (version "3.0.12") | ||
| 647 | (name "mono") | ||
| 648 | (source (origin | ||
| 649 | (method git-fetch) | ||
| 650 | (uri (git-reference | ||
| 651 | (url "https://gitlab.winehq.org/mono/mono.git") | ||
| 652 | (commit (string-append "mono-" version)))) | ||
| 653 | (file-name (git-file-name name version)) | ||
| 654 | (sha256 | ||
| 655 | (base32 | ||
| 656 | "110f3hcfikk6bxbrgjas5dqldci9f24gvm3vdgn4j9j7xhlcx1lj")) | ||
| 657 | (modules '((guix build utils) | ||
| 658 | (ice-9 string-fun))) | ||
| 659 | (snippet #~(begin | ||
| 660 | #$(add-external-repos | ||
| 661 | mono-3.0.12-external-repo-specs) | ||
| 662 | #$prepare-mono-source)))) | ||
| 663 | (native-inputs (modify-inputs (package-native-inputs mono-2.11.4) | ||
| 664 | (replace "mono" mono-2.11.4))) | ||
| 665 | (license (list | ||
| 666 | ;; most of mcs/tools, mono/man, most of mcs/class, tests by | ||
| 667 | ;; default, mono/eglib, mono/metadata/sgen*, | ||
| 668 | ;; mono/arch/*/XXX-codegen.h | ||
| 669 | ;; mcs/mcs, mcs/gmcs (dual-licensed GPL) | ||
| 670 | ;; samples | ||
| 671 | license:x11 | ||
| 672 | ;; mcs/mcs, mcs/gmcs (dual-licensed X11) | ||
| 673 | ;; some of mcs/tools | ||
| 674 | license:gpl1+ ;; note: ./mcs/LICENSE.GPL specifies no version | ||
| 675 | ;; mono/mono (the mono VM, I think they meant mono/mini) | ||
| 676 | ;; mono/support (note: directory doesn't exist, probably meant | ||
| 677 | ;; ./support, but that contains a copy of zlib?) | ||
| 678 | license:lgpl2.0+ ;; note: ./mcs/LICENSE.LGPL specifies no version | ||
| 679 | ;; mcs/jay | ||
| 680 | license:bsd-4 | ||
| 681 | ;; mcs/class/System.Core/System/TimeZoneInfo.Android.cs | ||
| 682 | license:asl2.0 | ||
| 683 | ;; ./support, contains a copy of zlib | ||
| 684 | license:zlib)))) | ||
