localPackages.zxorm: init

This commit is contained in:
2024-04-30 17:15:12 +08:00
parent eb8ea76980
commit 405dc14ce7
4 changed files with 30 additions and 1 deletions

19
flake.lock generated
View File

@@ -2226,7 +2226,8 @@
"tgbot-cpp": "tgbot-cpp",
"v-sim": "v-sim",
"win11os-kde": "win11os-kde",
"zpp-bits": "zpp-bits"
"zpp-bits": "zpp-bits",
"zxorm": "zxorm"
}
},
"rotate-text": {
@@ -2758,6 +2759,22 @@
"repo": "zpp_bits",
"type": "github"
}
},
"zxorm": {
"flake": false,
"locked": {
"lastModified": 1689774784,
"narHash": "sha256-QO0jrZqYcYxIdL1EWnEjaODr+q9inlbBgKaDSlu+ot0=",
"owner": "crabmandable",
"repo": "zxorm",
"rev": "92cd52ec0530fb3e66061058548916fb879879e7",
"type": "github"
},
"original": {
"owner": "crabmandable",
"repo": "zxorm",
"type": "github"
}
}
},
"root": "root",

View File

@@ -78,6 +78,7 @@
mumax = { url = "github:CHN-beta/mumax"; flake = false; };
kylin-virtual-keyboard = { url = "git+https://gitee.com/openkylin/kylin-virtual-keyboard.git"; flake = false; };
cjktty = { url = "github:zhmars/cjktty-patches"; flake = false; };
zxorm = { url = "github:crabmandable/zxorm"; flake = false; };
};
outputs = inputs:

View File

@@ -84,6 +84,7 @@ inputs: rec
kylin-virtual-keyboard = inputs.pkgs.libsForQt5.callPackage ./kylin-virtual-keyboard
{ src = inputs.topInputs.kylin-virtual-keyboard; };
biu = inputs.pkgs.callPackage ./biu { inherit nameof; };
zxorm = inputs.pkgs.callPackage ./zxorm { src = inputs.topInputs.zxorm; };
fromYaml = content: builtins.fromJSON (builtins.readFile
(inputs.pkgs.runCommand "toJSON" {}

View File

@@ -0,0 +1,10 @@
{
lib, stdenv, cmake, src,
pkg-config, sqlite
}: stdenv.mkDerivation
{
name = "zxorm";
inherit src;
buildInputs = [ sqlite ];
nativeBuildInputs = [ cmake pkg-config ];
}