master-thesis/python/flake.nix

25 lines
677 B
Nix
Raw Normal View History

2021-12-07 17:54:45 +01:00
{
description = "Calculating open system bath energy changes with HOPS and analytically.";
2021-12-09 15:13:50 +01:00
2021-12-07 17:54:45 +01:00
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
2021-12-09 15:13:50 +01:00
utils.url = "github:vale981/hiro-flake-utils";
2021-12-07 17:54:45 +01:00
};
2021-12-09 15:13:50 +01:00
outputs = { self, utils, nixpkgs, ... }:
(utils.lib.poetry2nixWrapper nixpkgs {
2021-12-09 15:17:49 +01:00
name = "master";
2021-12-09 15:42:00 +01:00
#noPackage = true;
2021-12-09 17:12:33 +01:00
shellPackages = pkgs: with pkgs; [ black pyright sshfs sage python3Packages.jupyter ];
2021-12-09 15:17:49 +01:00
shellOverride = (oldAttrs: {
shellHook = ''
export PYTHONPATH=$PYTHONPATH:$(realpath ./energy_flow_proper)
'';
});
2021-12-09 15:13:50 +01:00
poetryArgs = {
projectDir = ./.;
};
});
2021-12-07 17:54:45 +01:00
}