2023-11-16 15:12:39 +01:00
|
|
|
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
|
2023-11-30 14:48:17 +01:00
|
|
|
let
|
|
|
|
poetry2nix = import (fetchTarball "https://github.com/nix-community/poetry2nix/archive/master.tar.gz") { };
|
|
|
|
project =
|
|
|
|
poetry2nix.mkPoetryApplication {
|
|
|
|
projectDir = ./.;
|
|
|
|
preferWheels = true;
|
|
|
|
};
|
|
|
|
in
|
2023-11-16 15:12:39 +01:00
|
|
|
pkgs.mkShell {
|
2023-11-30 14:48:17 +01:00
|
|
|
inputsFrom = [ project ];
|
|
|
|
packages = [ pkgs.poetry ];
|
2023-11-16 15:12:39 +01:00
|
|
|
}
|