Ryan Lahfa
6b30a95fbb
All checks were successful
build configuration / build_vault01 (push) Successful in 1m13s
build configuration / build_storage01 (push) Successful in 1m16s
build configuration / build_web02 (push) Successful in 1m18s
build configuration / build_compute01 (push) Successful in 1m28s
build configuration / build_web01 (push) Successful in 1m43s
lint / check (push) Successful in 24s
build configuration / build_geo01 (push) Successful in 1m2s
build configuration / build_rescue01 (push) Successful in 1m6s
build configuration / build_bridge01 (push) Successful in 1m1s
build configuration / build_geo02 (push) Successful in 1m4s
build configuration / push_to_cache_storage01 (push) Successful in 1m25s
build configuration / push_to_cache_web02 (push) Successful in 1m21s
build configuration / push_to_cache_rescue01 (push) Successful in 1m17s
build configuration / push_to_cache_geo01 (push) Successful in 1m29s
build configuration / push_to_cache_compute01 (push) Successful in 1m55s
build configuration / push_to_cache_geo02 (push) Successful in 1m20s
build configuration / push_to_cache_bridge01 (push) Successful in 1m25s
build configuration / push_to_cache_web01 (push) Successful in 2m16s
Bumped minor version of Takumi for non-breaking changes. Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
29 lines
661 B
Nix
29 lines
661 B
Nix
{
|
|
pkgs ? import <nixpkgs> { },
|
|
python3 ? pkgs.python3,
|
|
}:
|
|
let
|
|
takumi = python3.pkgs.buildPythonPackage rec {
|
|
pname = "takumi";
|
|
version = "1.1.0";
|
|
pyproject = true;
|
|
|
|
src = ./.;
|
|
|
|
build-system = [ python3.pkgs.hatchling ];
|
|
|
|
dependencies = [
|
|
(python3.pkgs.callPackage ./ircrobots.nix { })
|
|
(python3.pkgs.callPackage ./tortoise-orm.nix { })
|
|
python3.pkgs.aiohttp
|
|
];
|
|
|
|
postInstall = ''
|
|
mkdir -p $out/bin
|
|
cp -v takumi.py $out/bin/takumi.py
|
|
chmod +x $out/bin/takumi.py
|
|
wrapProgram $out/bin/takumi.py --prefix PYTHONPATH : "$PYTHONPATH"
|
|
'';
|
|
};
|
|
in
|
|
pkgs.mkShell { packages = [ takumi ]; }
|