blob: 49fbb7c9e02df588a402f403253b79b1a13419f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{ prev, sources, ... }:
{
postfix-mta-sts-resolver =
with prev.poetry2nix;
mkPoetryApplication {
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
'';
};
};
}
|