[python] Add native module

This commit is contained in:
Tibo De Peuter 2024-02-16 08:51:04 +01:00
parent 2f8ae06aeb
commit 9c6a808212
2 changed files with 86 additions and 0 deletions

25
python/native/flake.nix Normal file
View file

@ -0,0 +1,25 @@
{
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
];
};
});
}