feat: initial commit
This commit is contained in:
commit
2ec883ff80
12 changed files with 610 additions and 0 deletions
47
shell/default.nix
Normal file
47
shell/default.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# SPDX-FileCopyrightText: 2025 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
||||
# SPDX-FileCopyrightText: 2025 Maurice Debray <maurice@dgnum.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: EUPL-1.2
|
||||
|
||||
{
|
||||
sprinkle,
|
||||
pkgs,
|
||||
lib,
|
||||
mkShellNoCC,
|
||||
|
||||
lon,
|
||||
|
||||
cargo,
|
||||
cargo-edit,
|
||||
clippy,
|
||||
rustc,
|
||||
|
||||
python3,
|
||||
}:
|
||||
|
||||
let
|
||||
git-hooks = import ./git-hooks.nix { inherit pkgs sprinkle; };
|
||||
nix-reuse = import ./nix-reuse.nix { inherit sprinkle; };
|
||||
in
|
||||
|
||||
mkShellNoCC {
|
||||
name = "phoenix";
|
||||
|
||||
packages = [
|
||||
lon
|
||||
cargo
|
||||
cargo-edit
|
||||
clippy
|
||||
rustc
|
||||
(python3.withPackages (ps: [
|
||||
ps.requests
|
||||
ps.black
|
||||
]))
|
||||
]
|
||||
++ git-hooks.enabledPackages;
|
||||
|
||||
shellHook = lib.concatMapStringsSep "\n" (lib.getAttr "shellHook") [
|
||||
git-hooks
|
||||
nix-reuse
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue