diff --git a/pkgs/to-normal-packages/baikal/default.nix b/pkgs/to-normal-packages/baikal/default.nix new file mode 100644 index 0000000..90e48a0 --- /dev/null +++ b/pkgs/to-normal-packages/baikal/default.nix @@ -0,0 +1,19 @@ +{ + php, + fetchpatch, + source, +}: +php.buildComposerProject { + inherit (source) pname src version; + vendorHash = "sha256-ffIKhYVhj5PHAVT5XOa6o219f04ZOL9B2dZVC3eunWc="; + patches = [ + (fetchpatch { + url = "https://github.com/wrvsrx/Baikal/commit/548dfbabccfcd0f90f184a2168935d34bee7423d.patch"; + hash = "sha256-dgyDUywqNkx6ST2cWX1gwsS7DeGNckbjI2z1iPysGNQ="; + }) + (fetchpatch { + url = "https://github.com/wrvsrx/Baikal/commit/20c7c229de4747541bc733a20160fd62a359c3cc.patch"; + hash = "sha256-Z1KXlCa0Iyy43SL75swOiRuCMZvaFuyJaid6VgK3c0I="; + }) + ]; +} diff --git a/pkgs/to-normal-packages/default.nix b/pkgs/to-normal-packages/default.nix index 5d19fef..cc83a4c 100644 --- a/pkgs/to-normal-packages/default.nix +++ b/pkgs/to-normal-packages/default.nix @@ -39,6 +39,7 @@ rec { inherit (pkgs) mkPnpmPackage; }; yalantinglibs = callPackage ./yalantinglibs { source = sources.yalantinglibs; }; + baikal = callPackage ./baikal { source = sources.baikal; }; yuzu = import ./yuzu { sources = { inherit (sources) suyu nx_tzdb compat-list; diff --git a/pkgs/to-sources/_sources/generated.json b/pkgs/to-sources/_sources/generated.json index cdba187..a850194 100644 --- a/pkgs/to-sources/_sources/generated.json +++ b/pkgs/to-sources/_sources/generated.json @@ -119,6 +119,27 @@ }, "version": "v1.0.3" }, + "baikal": { + "cargoLocks": null, + "date": null, + "extract": null, + "name": "baikal", + "passthru": null, + "pinned": false, + "src": { + "deepClone": false, + "fetchSubmodules": false, + "leaveDotGit": false, + "name": null, + "owner": "sabre-io", + "repo": "Baikal", + "rev": "0.9.5", + "sha256": "sha256-bCsF61ZBAY2iL3ffLkJ+HocdKOhA3/8RyYVztqoaEVw=", + "sparseCheckout": [], + "type": "github" + }, + "version": "0.9.5" + }, "calendar-visualization": { "cargoLocks": null, "date": "2024-05-02", diff --git a/pkgs/to-sources/_sources/generated.nix b/pkgs/to-sources/_sources/generated.nix index 7b0db67..f4407f1 100644 --- a/pkgs/to-sources/_sources/generated.nix +++ b/pkgs/to-sources/_sources/generated.nix @@ -67,6 +67,17 @@ sha256 = "sha256-hdIbEIZrxA5EA3XY4MIazRv3DazUjpuDJRCgq8+kJQg="; }; }; + baikal = { + pname = "baikal"; + version = "0.9.5"; + src = fetchFromGitHub { + owner = "sabre-io"; + repo = "Baikal"; + rev = "0.9.5"; + fetchSubmodules = false; + sha256 = "sha256-bCsF61ZBAY2iL3ffLkJ+HocdKOhA3/8RyYVztqoaEVw="; + }; + }; calendar-visualization = { pname = "calendar-visualization"; version = "099535c19755f7f26cc9dd7651dbb8e201783e9f"; diff --git a/pkgs/to-sources/nvfetcher.toml b/pkgs/to-sources/nvfetcher.toml index ff8821b..0a417fe 100644 --- a/pkgs/to-sources/nvfetcher.toml +++ b/pkgs/to-sources/nvfetcher.toml @@ -149,3 +149,8 @@ git.sparseCheckout = [ "Sans/OTC" ] src.manual = "Serif2.002" fetch.github = "notofonts/noto-cjk" git.sparseCheckout = [ "Serif/OTC" ] + +[baikal] +# src.github_tag = "sabre-io/Baikal" +src.manual = "0.9.5" +fetch.github = "sabre-io/Baikal"