add asar #292

Merged
darkkirb merged 2 commits from add-asar into main 2023-07-18 17:08:03 +00:00
5 changed files with 33 additions and 0 deletions
Showing only changes of commit 9df7efa41c - Show all commits

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

@ -0,0 +1,19 @@
{
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";
}

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
];