[pip] Add old flake
This commit is contained in:
parent
7e7e7797a1
commit
f7fe12b457
3 changed files with 97 additions and 0 deletions
25
python/pip/flake.nix
Normal file
25
python/pip/flake.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
description = "Python flake for use with pip environments.";
|
||||
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils}:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
in {
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
python39
|
||||
python39Packages.pip
|
||||
|
||||
# You might want to add an IDE of your choice;
|
||||
# jetbrains.pycharm-professional
|
||||
];
|
||||
};
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue