25 lines
606 B
Nix
25 lines
606 B
Nix
{
|
|
description = "Python flake with native packages";
|
|
|
|
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; [
|
|
python312
|
|
python312Packages.biopython # Bio-informatics
|
|
|
|
# Editor of your choice
|
|
# jetbrains.pycharm-professional
|
|
];
|
|
};
|
|
});
|
|
}
|