Skip to content

Commit

Permalink
feat(pkgs/baikal): add it
Browse files Browse the repository at this point in the history
  • Loading branch information
wrvsrx committed Jun 8, 2024
1 parent affbd1a commit 96ab0b4
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pkgs/to-normal-packages/baikal/default.nix
Original file line number Diff line number Diff line change
@@ -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=";
})
];
}
1 change: 1 addition & 0 deletions pkgs/to-normal-packages/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
21 changes: 21 additions & 0 deletions pkgs/to-sources/_sources/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
11 changes: 11 additions & 0 deletions pkgs/to-sources/_sources/generated.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
5 changes: 5 additions & 0 deletions pkgs/to-sources/nvfetcher.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 96ab0b4

Please sign in to comment.