23 lines
538 B
Nix
23 lines
538 B
Nix
{
|
|
inputs.nixpkgs.url = "nixpkgs/nixpkgs-unstable";
|
|
inputs.flake-utils.url = github:numtide/flake-utils;
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
with flake-utils.lib;
|
|
eachSystem allSystems (system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
python3 = (pkgs.python3.withPackages (ps: with ps; [
|
|
alive-progress
|
|
scapy
|
|
])).override {
|
|
ignoreCollisions = true;
|
|
};
|
|
in {
|
|
devShells.default = with pkgs; mkShell {
|
|
packages = [ python3 ];
|
|
};
|
|
}
|
|
);
|
|
}
|