mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:19:22 +08:00
localPackages.sqlite-orm: init
This commit is contained in:
17
flake.lock
generated
17
flake.lock
generated
@@ -2240,6 +2240,7 @@
|
||||
"rycee": "rycee",
|
||||
"slate": "slate",
|
||||
"sops-nix": "sops-nix",
|
||||
"sqlite-orm": "sqlite-orm",
|
||||
"tgbot-cpp": "tgbot-cpp",
|
||||
"v-sim": "v-sim",
|
||||
"win11os-kde": "win11os-kde",
|
||||
@@ -2435,6 +2436,22 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"sqlite-orm": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1679666045,
|
||||
"narHash": "sha256-KqphGFcnR1Y11KqL7sxODSv7lEvcURdF6kLd3cg84kc=",
|
||||
"owner": "fnc12",
|
||||
"repo": "sqlite_orm",
|
||||
"rev": "ff7c878af872f7987b62d825284fb25d6043af10",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "fnc12",
|
||||
"repo": "sqlite_orm",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1689347949,
|
||||
|
||||
@@ -81,6 +81,7 @@
|
||||
zxorm = { url = "github:CHN-beta/zxorm"; flake = false; };
|
||||
xmuhpc-dotfiles = { url = "git+https://git.chn.moe/chn/xmuhpc-dotfiles.git"; flake = false; };
|
||||
openxlsx = { url = "github:troldal/OpenXLSX"; flake = false; };
|
||||
sqlite-orm = { url = "github:fnc12/sqlite_orm"; flake = false; };
|
||||
};
|
||||
|
||||
outputs = inputs:
|
||||
|
||||
@@ -87,6 +87,7 @@ inputs: rec
|
||||
zxorm = inputs.pkgs.callPackage ./zxorm { src = inputs.topInputs.zxorm; };
|
||||
hpcstat = inputs.pkgs.callPackage ./hpcstat { inherit nameof zxorm zpp-bits; };
|
||||
openxlsx = inputs.pkgs.callPackage ./openxlsx { src = inputs.topInputs.openxlsx; };
|
||||
sqlite-orm = inputs.pkgs.callPackage ./sqlite-orm { src = inputs.topInputs.sqlite-orm; };
|
||||
|
||||
fromYaml = content: builtins.fromJSON (builtins.readFile
|
||||
(inputs.pkgs.runCommand "toJSON" {}
|
||||
|
||||
7
local/pkgs/sqlite-orm/default.nix
Normal file
7
local/pkgs/sqlite-orm/default.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ stdenv, src, cmake, pkg-config, sqlite }: stdenv.mkDerivation
|
||||
{
|
||||
name = "sqlite-orm";
|
||||
inherit src;
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ sqlite ];
|
||||
}
|
||||
Reference in New Issue
Block a user