blob: d930cefbedc673e61b205ea0f9093ebe41105ed8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ prev, sources, ... }:
{
postfix-mta-sts-resolver =
with prev.poetry2nix;
mkPoetryApplication {
python = prev.python311;
inherit (sources.postfix-mta-sts-resolver) pname version;
projectDir = cleanPythonSources {
src = prev.runCommand "sources" {} ''
mkdir $out
cp -r ${sources.postfix-mta-sts-resolver.src}/. $out
cp ${./pyproject.toml} $out/pyproject.toml
cp ${./poetry.lock} $out/poetry.lock
'';
};
};
}
|