2023-10-26 12:18:24 +13:00
|
|
|
{ poetry2nix, python3 }:
|
2020-07-21 20:52:44 +02:00
|
|
|
let
|
2023-10-26 12:18:24 +13:00
|
|
|
p2nix = poetry2nix.overrideScope' (_self: super: {
|
2020-07-21 20:52:44 +02:00
|
|
|
|
2023-10-26 12:18:24 +13:00
|
|
|
defaultPoetryOverrides = super.defaultPoetryOverrides.extend (_pyself: _pysuper: {
|
|
|
|
my-custom-pkg = super.my-custom-pkg.overridePythonAttrs (_oldAttrs: { });
|
|
|
|
});
|
2020-07-21 20:52:44 +02:00
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
in
|
|
|
|
p2nix.mkPoetryApplication {
|
|
|
|
python = python3;
|
|
|
|
projectDir = ./.;
|
2023-10-26 12:18:24 +13:00
|
|
|
overrides = p2nix.overrides.withDefaults (_self: super: {
|
|
|
|
inherit (super) customjox;
|
2020-07-21 20:52:44 +02:00
|
|
|
});
|
|
|
|
}
|