Added devenv and moved config files

This commit is contained in:
marc
2022-11-25 20:16:46 +01:00
parent ebbbd0d179
commit 69e1dc2eb4
38 changed files with 184 additions and 11 deletions

View File

@@ -0,0 +1,27 @@
{
description = "Development flake for this python project";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
projectDependencies = with pkgs; [
];
in {
devShells.default = pkgs.mkShell {
nativeBuildInputs = [ pkgs.bashInteractive ];
buildInputs = with pkgs; [
# Core python dependencies
python39
python39Packages.pip
python39Packages.virtualenv
# Development tools
python39Packages.ipython
] ++ projectDependencies;
};
});
}