mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00

This shouldn't be required and I think that these are actually packaging bugs and not something that poetry2nix should really be concerned with. Closes #84
26 lines
624 B
Nix
26 lines
624 B
Nix
{ pkgs, lib, poetry2nix, python3 }:
|
|
|
|
poetry2nix.mkPoetryApplication {
|
|
python = python3;
|
|
pyproject = ./pyproject.toml;
|
|
poetrylock = ./poetry.lock;
|
|
src = lib.cleanSource ./.;
|
|
|
|
overrides = [
|
|
poetry2nix.defaultPoetryOverrides
|
|
(import ./poetry-git-overlay.nix { inherit pkgs; })
|
|
(
|
|
self: super: {
|
|
pyramid-deferred-sqla = super.pyramid-deferred-sqla.overridePythonAttrs (
|
|
old: {
|
|
postPatch = ''
|
|
touch LICENSE
|
|
substituteInPlace setup.py --replace 'setup_requires=["pytest-runner"],' ""
|
|
'';
|
|
}
|
|
);
|
|
}
|
|
)
|
|
];
|
|
|
|
}
|