mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-11 17:29:30 +08:00
packages.brokenaxes: init
This commit is contained in:
17
flake.lock
generated
17
flake.lock
generated
@@ -40,6 +40,22 @@
|
||||
"url": "https://git.chn.moe/chn/blog-public.git"
|
||||
}
|
||||
},
|
||||
"brokenaxes": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1756396241,
|
||||
"narHash": "sha256-QqMpfuH+nuDIQrA3DAgdQKk9rUFSrMAudWjb24KTBs4=",
|
||||
"owner": "bendichter",
|
||||
"repo": "brokenaxes",
|
||||
"rev": "b87550715f3c2fa84bf8854de7eb3ef5a1cf3b67",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "bendichter",
|
||||
"repo": "brokenaxes",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"bscpkgs": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
@@ -1325,6 +1341,7 @@
|
||||
"inputs": {
|
||||
"aagl": "aagl",
|
||||
"blog": "blog",
|
||||
"brokenaxes": "brokenaxes",
|
||||
"bscpkgs": "bscpkgs",
|
||||
"buildproxy": "buildproxy",
|
||||
"catppuccin": "catppuccin",
|
||||
|
||||
@@ -66,6 +66,7 @@
|
||||
sticker = { url = "git+https://git.chn.moe/chn/sticker.git?lfs=1"; flake = false; };
|
||||
speedtest = { url = "github:librespeed/speedtest"; flake = false; };
|
||||
pybinding = { url = "git+https://github.com/dean0x7d/pybinding?submodules=1"; flake = false; };
|
||||
brokenaxes = { url = "github:bendichter/brokenaxes"; flake = false; };
|
||||
};
|
||||
|
||||
outputs = inputs: let localLib = import ./flake/lib inputs.nixpkgs.lib; in
|
||||
|
||||
@@ -63,7 +63,7 @@ inputs:
|
||||
_pythonPackages = [(pythonPackages: with pythonPackages;
|
||||
[
|
||||
openai python-telegram-bot fastapi-cli pypdf2 pandas matplotlib plotly gunicorn redis jinja2 certifi
|
||||
charset-normalizer idna orjson psycopg2 inquirerpy requests tqdm pydbus
|
||||
charset-normalizer idna orjson psycopg2 inquirerpy requests tqdm pydbus inputs.pkgs.localPackages.brokenaxes
|
||||
# allow pandas read odf
|
||||
odfpy
|
||||
# for vasp plot-workfunc.py
|
||||
|
||||
8
packages/brokenaxes.nix
Normal file
8
packages/brokenaxes.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ src, buildPythonPackage, setuptools, matplotlib }: buildPythonPackage
|
||||
{
|
||||
name = "brokenaxes";
|
||||
pyproject = true;
|
||||
inherit src;
|
||||
build-system = [ setuptools ];
|
||||
dependencies = [ matplotlib ];
|
||||
}
|
||||
@@ -146,6 +146,7 @@ inputs: rec
|
||||
src = inputs.topInputs.pybinding;
|
||||
buildProxy = inputs.pkgs.lib.mkBuildproxy ./pybinding/proxy.nix;
|
||||
};
|
||||
brokenaxes = inputs.pkgs.python3Packages.callPackage ./brokenaxes.nix { src = inputs.topInputs.brokenaxes; };
|
||||
|
||||
fromYaml = content: builtins.fromJSON (builtins.readFile
|
||||
(inputs.pkgs.runCommand "toJSON" {}
|
||||
|
||||
Reference in New Issue
Block a user