feat: add python template

This commit is contained in:
Moritz Böhme 2023-11-03 14:14:39 +01:00
parent 1735fb38da
commit c17d3f21d7
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
3 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,15 @@
{
description = "Simple python flake";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];
perSystem = { config, self', inputs', pkgs, system, ... }: {
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [ python3 poetry ];
};
};
};
}