Merge pull request 'add asar' (#292) from add-asar into main
Some checks reported errors
ci/woodpecker/cron/update-lockfile Pipeline was successful
Hydra kubo Hydra build #60315 of nix-packages:riscv64-linux-master:kubo
Hydra emoji-volpeon-bunhd-flip Hydra build #60314 of nix-packages:riscv64-linux-master:emoji-volpeon-bunhd-flip
Hydra wordpress-plugins.modern-images-wp Hydra build #60318 of nix-packages:riscv64-linux-master:wordpress-plugins.modern-images-wp
Hydra wordpress-plugins.classic-editor Hydra build #60319 of nix-packages:riscv64-linux-master:wordpress-plugins.classic-editor
Hydra wordpress-plugins.google-sitemap-generator Hydra build #60320 of nix-packages:riscv64-linux-master:wordpress-plugins.google-sitemap-generator
Hydra kreative-square Hydra build #60322 of nix-packages:riscv64-linux-master:kreative-square
Hydra wordpress-plugins.jetpack Hydra build #60324 of nix-packages:riscv64-linux-master:wordpress-plugins.jetpack
Hydra wordpress-plugins.syndication-links Hydra build #60325 of nix-packages:riscv64-linux-master:wordpress-plugins.syndication-links
Hydra python-plover-stroke Hydra build #60352 of nix-packages:riscv64-linux-master:python-plover-stroke
Hydra python-rtf-tokenize Hydra build #60387 of nix-packages:riscv64-linux-master:python-rtf-tokenize
Hydra wordpress-themes.sempress Hydra build #60328 of nix-packages:riscv64-linux-master:wordpress-themes.sempress
Hydra emoji-volpeon-vlpn Hydra build #60333 of nix-packages:riscv64-linux-master:emoji-volpeon-vlpn
Hydra nasin-nanpa Hydra build #60335 of nix-packages:riscv64-linux-master:nasin-nanpa
Hydra fairfax Hydra build #60330 of nix-packages:riscv64-linux-master:fairfax
Hydra miifox-net Hydra build #60332 of nix-packages:riscv64-linux-master:miifox-net
Hydra wordpress-plugins.micropub Hydra build #60337 of nix-packages:riscv64-linux-master:wordpress-plugins.micropub
Hydra wordpress-plugins.indieweb Hydra build #60340 of nix-packages:riscv64-linux-master:wordpress-plugins.indieweb
Hydra fairfax-hd Hydra build #60342 of nix-packages:riscv64-linux-master:fairfax-hd
Hydra emoji-volpeon-blobfox-flip Hydra build #60345 of nix-packages:riscv64-linux-master:emoji-volpeon-blobfox-flip
Hydra python-simplefuzzyset Hydra build #60360 of nix-packages:riscv64-linux-master:python-simplefuzzyset
Hydra wordpress-plugins.activitypub Hydra build #60350 of nix-packages:riscv64-linux-master:wordpress-plugins.activitypub
Hydra emoji-caro Hydra build #60321 of nix-packages:riscv64-linux-master:emoji-caro
Hydra wordpress-plugins.nodeinfo Hydra build #60351 of nix-packages:riscv64-linux-master:wordpress-plugins.nodeinfo
Hydra emoji-volpeon-fox Hydra build #60344 of nix-packages:riscv64-linux-master:emoji-volpeon-fox
Hydra wordpress-plugins.wp-super-cache Hydra build #60354 of nix-packages:riscv64-linux-master:wordpress-plugins.wp-super-cache
Hydra wordpress-plugins.webp-express Hydra build #60357 of nix-packages:riscv64-linux-master:wordpress-plugins.webp-express
Hydra emoji-volpeon-gphn Hydra build #60353 of nix-packages:riscv64-linux-master:emoji-volpeon-gphn
Hydra packages.element-web.riscv64-linux Hydra build #61167 of flakes:nix-packages:packages.element-web.riscv64-linux
Hydra packages.pleroma-fe.riscv64-linux Hydra build #61189 of flakes:nix-packages:packages.pleroma-fe.riscv64-linux
Hydra woodpecker-server Hydra build #62738 of nix-packages:riscv64-linux-master:woodpecker-server
Hydra woodpecker-frontend Hydra build #62740 of nix-packages:riscv64-linux-master:woodpecker-frontend
Hydra packages.woodpecker-server.riscv64-linux Hydra build #62809 of flakes:nix-packages:packages.woodpecker-server.riscv64-linux
Hydra packages.woodpecker-frontend.riscv64-linux Hydra build #62831 of flakes:nix-packages:packages.woodpecker-frontend.riscv64-linux
Hydra wordpress-plugins.indieauth Hydra build #60362 of nix-packages:riscv64-linux-master:wordpress-plugins.indieauth
Hydra wordpress-plugins.indieweb-post-kinds Hydra build #60381 of nix-packages:riscv64-linux-master:wordpress-plugins.indieweb-post-kinds
Hydra emoji-volpeon-blobfox Hydra build #60385 of nix-packages:riscv64-linux-master:emoji-volpeon-blobfox
Hydra wordpress-plugins.polylang Hydra build #60851 of nix-packages:riscv64-linux-master:wordpress-plugins.polylang
Hydra wordpress-plugins.the-plus-addons-for-block-editor Hydra build #60849 of nix-packages:riscv64-linux-master:wordpress-plugins.the-plus-addons-for-block-editor
Hydra emoji-volpeon-raccoon Hydra build #60371 of nix-packages:riscv64-linux-master:emoji-volpeon-raccoon
Hydra wordpress-plugins.friends Hydra build #60361 of nix-packages:riscv64-linux-master:wordpress-plugins.friends
Hydra wordpress-plugins.webmention Hydra build #60364 of nix-packages:riscv64-linux-master:wordpress-plugins.webmention
Hydra matrix-media-repo Hydra build #60363 of nix-packages:riscv64-linux-master:matrix-media-repo
Hydra wordpress-plugins.pubsubhubbub Hydra build #60368 of nix-packages:riscv64-linux-master:wordpress-plugins.pubsubhubbub
Hydra wordpress-plugins.hum Hydra build #60365 of nix-packages:riscv64-linux-master:wordpress-plugins.hum
Hydra wordpress-plugins.webfinger Hydra build #60366 of nix-packages:riscv64-linux-master:wordpress-plugins.webfinger
Hydra constructium Hydra build #60370 of nix-packages:riscv64-linux-master:constructium
Hydra wordpress-themes.twentytwentythree Hydra build #60373 of nix-packages:riscv64-linux-master:wordpress-themes.twentytwentythree
ci/woodpecker/cron/update Pipeline failed
Hydra emoji-volpeon-bunhd Hydra build #60379 of nix-packages:riscv64-linux-master:emoji-volpeon-bunhd
Hydra alco-sans Hydra build #60384 of nix-packages:riscv64-linux-master:alco-sans
Hydra mautrix-discord Hydra build #60848 of nix-packages:riscv64-linux-master:mautrix-discord
Hydra emoji-volpeon-drgn Hydra build #60358 of nix-packages:riscv64-linux-master:emoji-volpeon-drgn
Hydra emoji-volpeon-neofox Hydra build #60383 of nix-packages:riscv64-linux-master:emoji-volpeon-neofox
Hydra emoji-lotte Hydra build #60359 of nix-packages:riscv64-linux-master:emoji-lotte
Hydra mautrix-whatsapp Hydra build #60852 of nix-packages:riscv64-linux-master:mautrix-whatsapp
Hydra asar Hydra build #61549 of nix-packages:riscv64-linux-master:asar
Hydra woodpecker-cli Hydra build #60850 of nix-packages:riscv64-linux-master:woodpecker-cli
Hydra woodpecker-agent Hydra build #60855 of nix-packages:riscv64-linux-master:woodpecker-agent
Hydra element-web Hydra build #60343 of nix-packages:riscv64-linux-master:element-web
Hydra admin-fe Hydra build #60323 of nix-packages:riscv64-linux-master:admin-fe
Hydra pleroma-fe Hydra build #60349 of nix-packages:riscv64-linux-master:pleroma-fe

Reviewed-on: #292
This commit is contained in:
Charlotte 🦝 Delenk 2023-07-18 17:08:00 +00:00
commit 00cb9e5113
Signed by: gitea-bot
GPG key ID: C9974EDF9932B558
5 changed files with 34 additions and 0 deletions

20
compiler/asar/default.nix Normal file
View file

@ -0,0 +1,20 @@
{
fetchFromGitHub,
cmake,
ninja,
stdenv,
}: let
source = builtins.fromJSON (builtins.readFile ./source.json);
in
stdenv.mkDerivation {
pname = "asar";
version = source.date;
src = fetchFromGitHub {
owner = "RPGHacker";
repo = "asar";
inherit (source) rev sha256;
};
nativeBuildInputs = [cmake ninja];
cmakeDir = "../src";
passthru.updateScript = [../../scripts/update-git.sh "https://github.com/RPGHacker/asar" "compiler/asar/source.json"];
}

11
compiler/asar/source.json Normal file
View file

@ -0,0 +1,11 @@
{
"url": "https://github.com/RPGHacker/asar",
"rev": "d39723aa3bd071f685e670914ec7b4e47a7e0455",
"date": "2023-07-16T03:47:38+03:00",
"path": "/nix/store/azqqw9j7wjxk2bgpd9nl14n0s2cy6pxf-asar",
"sha256": "1gawm1akq1q40mbmlpcrq3krz563ckp5c1bi2v7l3cq2mk24l3zc",
"fetchLFS": false,
"fetchSubmodules": false,
"deepClone": false,
"leaveDotGit": false
}

View file

@ -75,6 +75,7 @@ in
fcitx5
plover-plugin-python-dictionary
plover-plugin-stenotype-extended
asar
;
}
// (

View file

@ -119,6 +119,7 @@
fcitx5
plover-plugin-python-dictionary
plover-plugin-stenotype-extended
asar
;
}
// (

View file

@ -127,6 +127,7 @@ system: self: super: let
});
linux-bcachefs = self.callPackage ./linux/bcachefs {kernelPatches = [];};
bcachefs-tools = self.callPackage ./linux/bcachefs-tools {};
asar = self.callPackage ./compiler/asar {};
})
riscv-overlay
];