47 lines
737 B
Nix
47 lines
737 B
Nix
# 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
|
|
];
|
|
}
|