Leek/flake.nix

31 lines
646 B
Nix

{
description = "Leek flake";
inputs.nixpkgs.url = "nixpkgs/nixos-unstable";
outputs = { nixpkgs, ... }:
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
lib = nixpkgs.lib;
in
{
devShells.x86_64-linux.default = pkgs.mkShell {
name = "leek-devshell";
packages = with pkgs; [
ruff
(
python3.withPackages (ps: with ps;[
python-lsp-server
pyside6
]
)
)
];
};
packages.x86_64-linux = rec {
default = leek;
leek = pkgs.callPackage ./package.nix { };
};
};
}