From 99c2602b7cf4e5b9d61aa5dd76e4a28def12ff2d Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 12 Jan 2026 10:39:27 -0500 Subject: initial --- flake.nix | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..c12d3f7 --- /dev/null +++ b/flake.nix @@ -0,0 +1,50 @@ +{ + description = "python packagessssssss"; + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { + nixpkgs, + flake-utils, + ... + }: let + supportedSystems = let + inherit (flake-utils.lib) system; + in [ + system.aarch64-linux + system.x86_64-linux + ]; + in + flake-utils.lib.eachSystem supportedSystems (system: let + pkgs = import nixpkgs {inherit system;}; + in rec { + packages = import ./pkgs { + inherit pkgs; + }; + + devShell = let + in + pkgs.mkShell + { + packages = with pkgs.python3Packages; + with packages; [ + numpy + scipy + pandas + matplotlib + qiskit + qiskit-ibm-runtime + qiskit-ibm-provider + seaborn + pylatexenc + qiskit-aer + python + ]; + }; + + formatter = pkgs.alejandra; + }); +} -- cgit v1.2.3-freya