Compare commits

...

13 commits

Author SHA1 Message Date
misuzu
3ae15af301
[Backport release-25.05] ubootVisionFive2: init (#415211) 2025-06-09 10:52:42 +03:00
Jakob Leifhelm
45e4413e41 ubootVisionFive2: init
(cherry picked from commit 319feec0a2)
2025-06-09 07:06:08 +00:00
Ulrik Strid
6f2f80eaaf
[Backport release-25.05] ocamlPackages.decoders: init at 1.0.0 with dependencies (#414967) 2025-06-09 08:57:03 +02:00
Aleksana
a310a16ad7
[Backport release-25.05] clapper-enhancers: 0.8.2 -> 0.8.3 (#414970) 2025-06-09 13:19:11 +08:00
Peder Bergebakken Sundt
7c6efa7a9c
[Backport release-25.05] heroic-unwrapped: 2.16.1 -> 2.17.1 (#415075) 2025-06-09 04:06:23 +02:00
Peder Bergebakken Sundt
e781550a98
[Backport release-25.05] vscode-extensions.reditorsupport.r: 2.8.5 -> 2.8.6 (#415124) 2025-06-09 04:02:14 +02:00
PandapipBot
370bcf3c68 vscode-extensions.reditorsupport.r: 2.8.5 -> 2.8.6
(cherry picked from commit 38e9df562e)
2025-06-08 22:20:22 +00:00
Marie Ramlow
7c53b3faa2 heroic-unwrapped: 2.17.0 -> 2.17.1
Diff: https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/compare/refs/tags/v2.17.0...refs/tags/v2.17.1

Changelog: https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases
(cherry picked from commit f1d85a7907)
2025-06-08 18:12:40 +02:00
Marie Ramlow
3a5080c8cd heroic-unwrapped: 2.16.1 -> 2.17.0
(cherry picked from commit 9a7782a6b3)
2025-06-08 18:12:40 +02:00
R. Ryantm
7d06ea78c0 clapper-enhancers: 0.8.2 -> 0.8.3
(cherry picked from commit 1c63b6f538)
2025-06-08 10:08:50 +00:00
Infinidoge
9189f0318d ocamlPackages.decoders: init at 1.0.0
Since all decoders-* packages are part of the base decoders package
source, and the versions are all tied together, they are added as a
single commit

(cherry picked from commit 5416aaae9d)
2025-06-08 10:02:11 +00:00
Infinidoge
10b3164145 ocamlPackages.bencode: init at 2.0
(cherry picked from commit e016599ff5)
2025-06-08 10:02:11 +00:00
Infinidoge
9672382799 ocamlPackages.cbor: init at 0.5
(cherry picked from commit 7baddbc4fd)
2025-06-08 10:02:11 +00:00
18 changed files with 485 additions and 14 deletions

View file

@ -12,8 +12,8 @@ vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = { mktplcRef = {
name = "r"; name = "r";
publisher = "reditorsupport"; publisher = "reditorsupport";
version = "2.8.5"; version = "2.8.6";
hash = "sha256-cZeZdrViEae9sRb9GyB/LeSQ5NRb/fAp3qQW9mPMbsM="; hash = "sha256-T/Qh0WfTfXMzPonbg9NMII5qFptfNoApFFiZCT5rR3Y=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
jq jq

View file

@ -17,13 +17,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "clapper-enhancers"; pname = "clapper-enhancers";
version = "0.8.2"; version = "0.8.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Rafostar"; owner = "Rafostar";
repo = "clapper-enhancers"; repo = "clapper-enhancers";
tag = finalAttrs.version; tag = finalAttrs.version;
hash = "sha256-CUfTz+YvliJXiv/nsdrpDVFSblqoSW7js8vAtJ9u5vM="; hash = "sha256-uj0ZZrS2Y896EDWeBsU3Q3S2kFdEg5FQkBOcI97FFWc=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -3,12 +3,13 @@
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
nix-update-script, nix-update-script,
pnpm_9, # Pinned, because our FODs are not guaranteed to be stable between major versions.
pnpm_10,
nodejs, nodejs,
python3, python3,
makeWrapper, makeWrapper,
# Upstream uses EOL Electron 31. Use next oldest version. # Electron updates frequently break Heroic, so pin same version as upstream, or newest non-EOL.
electron_34, electron_36,
vulkan-helper, vulkan-helper,
gogdl, gogdl,
legendary-heroic, legendary-heroic,
@ -17,27 +18,27 @@
}: }:
let let
electron = electron_34; electron = electron_36;
in in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "heroic-unwrapped"; pname = "heroic-unwrapped";
version = "2.16.1"; version = "2.17.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Heroic-Games-Launcher"; owner = "Heroic-Games-Launcher";
repo = "HeroicGamesLauncher"; repo = "HeroicGamesLauncher";
rev = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}";
hash = "sha256-BnBzbbyi9cdO6W59cnY13hnhH+tjrTryTp9XIcERwh4="; hash = "sha256-8vmFgLtFvS9JtbQbUNdSHr9zZaTZnQ2ntSueLcCICaE=";
}; };
pnpmDeps = pnpm_9.fetchDeps { pnpmDeps = pnpm_10.fetchDeps {
inherit (finalAttrs) pname version src; inherit (finalAttrs) pname version src;
hash = "sha256-2IQyXULgFoz0rFQ8SwERgMDzzo7pZ3DbqhwrWNYSwRo="; hash = "sha256-9WCIdQ91IU8pfq6kpbmmn6APBTNwpCi9ovgRuWYUad8=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
nodejs nodejs
pnpm_9.configHook pnpm_10.configHook
python3 python3
makeWrapper makeWrapper
]; ];

View file

@ -0,0 +1,34 @@
{
lib,
buildDunePackage,
fetchFromGitHub,
ounit,
qcheck,
}:
buildDunePackage rec {
pname = "bencode";
version = "2.0";
minimalOCamlVersion = "4.02.0";
src = fetchFromGitHub {
owner = "rgrinberg";
repo = "bencode";
tag = version;
hash = "sha256-sEMS9oBOPeFX1x7cHjbQhCD2QI5yqC+550pPqqMsVws=";
};
doCheck = true;
checkInputs = [
ounit
qcheck
];
meta = {
description = "Bencode (.torrent file format) reader/writer in OCaml ";
homepage = "https://github.com/rgrinberg/bencode";
changelog = "https://github.com/rgrinberg/bencode/blob/${version}/Changelog.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ infinidoge ];
};
}

View file

@ -0,0 +1,35 @@
{
lib,
buildDunePackage,
fetchurl,
ocplib-endian,
yojson,
}:
buildDunePackage rec {
pname = "cbor";
version = "0.5";
minimalOCamlVersion = "4.07.0";
src = fetchurl {
url = "https://github.com/ygrek/ocaml-cbor/releases/download/${version}/ocaml-cbor-${version}.tar.gz";
hash = "sha256-4mpm/fv9X5uFRQO8XqBhOpxYwZreEtJ3exIwN6YulKM=";
};
propagatedBuildInputs = [
ocplib-endian
];
doCheck = true;
checkInputs = [
yojson
];
meta = {
description = "CBOR encoder/decoder (RFC 7049) - native OCaml implementation";
homepage = "https://github.com/ygrek/ocaml-cbor";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ infinidoge ];
};
}

View file

@ -0,0 +1,36 @@
{
lib,
buildDunePackage,
decoders,
bencode,
containers,
ounit2,
}:
buildDunePackage rec {
pname = "decoders-bencode";
# sub-package built separately from the same source
inherit (decoders) src version;
minimalOCamlVersion = "4.03.0";
propagatedBuildInputs = [
decoders
bencode
];
doCheck = true;
checkInputs = [
containers
ounit2
];
meta = {
description = "Bencode backend for decoders";
homepage = "https://github.com/mattjbray/ocaml-decoders";
changelog = "https://github.com/mattjbray/ocaml-decoders/blob/${version}/CHANGES.md";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ infinidoge ];
};
}

View file

@ -0,0 +1,36 @@
{
lib,
buildDunePackage,
decoders,
cbor,
containers,
ounit2,
}:
buildDunePackage rec {
pname = "decoders-cbor";
# sub-package built separately from the same source
inherit (decoders) src version;
minimalOCamlVersion = "4.03.0";
propagatedBuildInputs = [
decoders
cbor
];
doCheck = true;
checkInputs = [
containers
ounit2
];
meta = {
description = "CBOR backend for decoders";
homepage = "https://github.com/mattjbray/ocaml-decoders";
changelog = "https://github.com/mattjbray/ocaml-decoders/blob/${version}/CHANGES.md";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ infinidoge ];
};
}

View file

@ -0,0 +1,36 @@
{
lib,
buildDunePackage,
decoders,
ezjsonm,
containers,
ounit2,
}:
buildDunePackage rec {
pname = "decoders-ezjsonm";
# sub-package built separately from the same source
inherit (decoders) src version;
minimalOCamlVersion = "4.03.0";
propagatedBuildInputs = [
decoders
ezjsonm
];
doCheck = true;
checkInputs = [
containers
ounit2
];
meta = {
description = "Ezjsonm backend for decoders";
homepage = "https://github.com/mattjbray/ocaml-decoders";
changelog = "https://github.com/mattjbray/ocaml-decoders/blob/${version}/CHANGES.md";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ infinidoge ];
};
}

View file

@ -0,0 +1,34 @@
{
lib,
buildDunePackage,
decoders,
ezxmlm,
containers,
}:
buildDunePackage rec {
pname = "decoders-ezxmlm";
# sub-package built separately from the same source
inherit (decoders) src version;
minimalOCamlVersion = "4.03.0";
propagatedBuildInputs = [
decoders
ezxmlm
];
doCheck = true;
checkInputs = [
containers
];
meta = {
description = "Ezxmlm backend for decoders";
homepage = "https://github.com/mattjbray/ocaml-decoders";
changelog = "https://github.com/mattjbray/ocaml-decoders/blob/${version}/CHANGES.md";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ infinidoge ];
};
}

View file

@ -0,0 +1,36 @@
{
lib,
buildDunePackage,
decoders,
jsonaf ? null,
containers,
ounit2,
}:
buildDunePackage rec {
pname = "decoders-jsonaf";
# sub-package built separately from the same source
inherit (decoders) src version;
minimalOCamlVersion = "4.11.0";
propagatedBuildInputs = [
decoders
jsonaf
];
doCheck = true;
checkInputs = [
containers
ounit2
];
meta = {
description = "Jsonaf backend for decoders";
homepage = "https://github.com/mattjbray/ocaml-decoders";
changelog = "https://github.com/mattjbray/ocaml-decoders/blob/${version}/CHANGES.md";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ infinidoge ];
};
}

View file

@ -0,0 +1,36 @@
{
lib,
buildDunePackage,
decoders,
jsonm,
containers,
ounit2,
}:
buildDunePackage rec {
pname = "decoders-jsonm";
# sub-package built separately from the same source
inherit (decoders) src version;
minimalOCamlVersion = "4.03.0";
propagatedBuildInputs = [
decoders
jsonm
];
doCheck = true;
checkInputs = [
containers
ounit2
];
meta = {
description = "Jsonm backend for decoders";
homepage = "https://github.com/mattjbray/ocaml-decoders";
changelog = "https://github.com/mattjbray/ocaml-decoders/blob/${version}/CHANGES.md";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ infinidoge ];
};
}

View file

@ -0,0 +1,36 @@
{
lib,
buildDunePackage,
decoders,
msgpck,
containers,
ounit2,
}:
buildDunePackage rec {
pname = "decoders-msgpck";
# sub-package built separately from the same source
inherit (decoders) src version;
minimalOCamlVersion = "4.03.0";
propagatedBuildInputs = [
decoders
msgpck
];
doCheck = true;
checkInputs = [
containers
ounit2
];
meta = {
description = "Msgpck backend for decoders";
homepage = "https://github.com/mattjbray/ocaml-decoders";
changelog = "https://github.com/mattjbray/ocaml-decoders/blob/${version}/CHANGES.md";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ infinidoge ];
};
}

View file

@ -0,0 +1,38 @@
{
lib,
buildDunePackage,
decoders,
sexplib,
sexplib0,
containers,
ounit2,
}:
buildDunePackage rec {
pname = "decoders-sexplib";
# sub-package built separately from the same source
inherit (decoders) src version;
minimalOCamlVersion = "4.03.0";
propagatedBuildInputs = [
decoders
sexplib
sexplib0
];
doCheck = true;
checkInputs = [
containers
ounit2
];
meta = {
description = "sexplib backend for decoders";
homepage = "https://github.com/mattjbray/ocaml-decoders";
changelog = "https://github.com/mattjbray/ocaml-decoders/blob/${version}/CHANGES.md";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ infinidoge ];
};
}

View file

@ -0,0 +1,36 @@
{
lib,
buildDunePackage,
decoders,
yojson,
containers,
ounit2,
}:
buildDunePackage rec {
pname = "decoders-yojson";
# sub-package built separately from the same source
inherit (decoders) src version;
minimalOCamlVersion = "4.03.0";
propagatedBuildInputs = [
decoders
yojson
];
doCheck = true;
checkInputs = [
containers
ounit2
];
meta = {
description = "Yojson backend for decoders";
homepage = "https://github.com/mattjbray/ocaml-decoders";
changelog = "https://github.com/mattjbray/ocaml-decoders/blob/${version}/CHANGES.md";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ infinidoge ];
};
}

View file

@ -0,0 +1,31 @@
{
lib,
buildDunePackage,
fetchurl,
containers,
}:
buildDunePackage rec {
pname = "decoders";
version = "1.0.0";
minimalOCamlVersion = "4.03.0";
src = fetchurl {
url = "https://github.com/mattjbray/ocaml-decoders/releases/download/v${version}/${pname}-${version}.tbz";
hash = "sha256-R/55xBAtD3EO/zzq7zExANnfPHlFg00884o5dCpXNZc=";
};
doCheck = true;
checkInputs = [
containers
];
meta = {
description = "Elm-inspired decoders for Ocaml";
homepage = "https://github.com/mattjbray/ocaml-decoders";
changelog = "https://github.com/mattjbray/ocaml-decoders/blob/${version}/CHANGES.md";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ infinidoge ];
};
}

View file

@ -27,6 +27,7 @@
armTrustedFirmwareRK3568, armTrustedFirmwareRK3568,
armTrustedFirmwareRK3588, armTrustedFirmwareRK3588,
armTrustedFirmwareS905, armTrustedFirmwareS905,
opensbi,
buildPackages, buildPackages,
}@pkgs: }@pkgs:
@ -808,6 +809,26 @@ in
# sf probe; sf update $loadaddr 0 80000 # sf probe; sf update $loadaddr 0 80000
}; };
ubootVisionFive2 =
let
opensbi_vf2 = opensbi.overrideAttrs (attrs: {
makeFlags = attrs.makeFlags ++ [
# Matches u-boot documentation: https://docs.u-boot.org/en/latest/board/starfive/visionfive2.html
"FW_TEXT_START=0x40000000"
"FW_OPTIONS=0"
];
});
in
buildUBoot {
defconfig = "starfive_visionfive2_defconfig";
extraMeta.platforms = [ "riscv64-linux" ];
OPENSBI = "${opensbi_vf2}/share/opensbi/lp64/generic/firmware/fw_dynamic.bin";
filesToInstall = [
"spl/u-boot-spl.bin.normal.out"
"u-boot.itb"
];
};
ubootWandboard = buildUBoot { ubootWandboard = buildUBoot {
defconfig = "wandboard_defconfig"; defconfig = "wandboard_defconfig";
extraMeta.platforms = [ "armv7l-linux" ]; extraMeta.platforms = [ "armv7l-linux" ];

View file

@ -11575,6 +11575,7 @@ with pkgs;
ubootSopine ubootSopine
ubootTuringRK1 ubootTuringRK1
ubootUtilite ubootUtilite
ubootVisionFive2
ubootWandboard ubootWandboard
; ;

View file

@ -88,6 +88,8 @@ let
benchmark = callPackage ../development/ocaml-modules/benchmark { }; benchmark = callPackage ../development/ocaml-modules/benchmark { };
bencode = callPackage ../development/ocaml-modules/bencode { };
bheap = callPackage ../development/ocaml-modules/bheap { }; bheap = callPackage ../development/ocaml-modules/bheap { };
bigarray-compat = callPackage ../development/ocaml-modules/bigarray-compat { }; bigarray-compat = callPackage ../development/ocaml-modules/bigarray-compat { };
@ -202,6 +204,8 @@ let
git-binary = pkgs.git; git-binary = pkgs.git;
}; };
cbor = callPackage ../development/ocaml-modules/cbor { };
cfstream = callPackage ../development/ocaml-modules/cfstream { }; cfstream = callPackage ../development/ocaml-modules/cfstream { };
chacha = callPackage ../development/ocaml-modules/chacha { }; chacha = callPackage ../development/ocaml-modules/chacha { };
@ -326,6 +330,26 @@ let
dbf = callPackage ../development/ocaml-modules/dbf { }; dbf = callPackage ../development/ocaml-modules/dbf { };
decoders = callPackage ../development/ocaml-modules/decoders { };
decoders-bencode = callPackage ../development/ocaml-modules/decoders-bencode { };
decoders-cbor = callPackage ../development/ocaml-modules/decoders-cbor { };
decoders-ezjsonm = callPackage ../development/ocaml-modules/decoders-ezjsonm { };
decoders-ezxmlm = callPackage ../development/ocaml-modules/decoders-ezxmlm { };
decoders-jsonaf = callPackage ../development/ocaml-modules/decoders-jsonaf { };
decoders-jsonm = callPackage ../development/ocaml-modules/decoders-jsonm { };
decoders-msgpck = callPackage ../development/ocaml-modules/decoders-msgpck { };
decoders-sexplib = callPackage ../development/ocaml-modules/decoders-sexplib { };
decoders-yojson = callPackage ../development/ocaml-modules/decoders-yojson { };
decompress = callPackage ../development/ocaml-modules/decompress { }; decompress = callPackage ../development/ocaml-modules/decompress { };
dedukti = callPackage ../development/ocaml-modules/dedukti { }; dedukti = callPackage ../development/ocaml-modules/dedukti { };