From c0e3d0e72d9d636728a5171511e3ce1003203567 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 10 Apr 2023 20:56:16 +0200 Subject: bump --- overlays/postfix-mta-sts-resolver/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 overlays/postfix-mta-sts-resolver/default.nix (limited to 'overlays/postfix-mta-sts-resolver/default.nix') diff --git a/overlays/postfix-mta-sts-resolver/default.nix b/overlays/postfix-mta-sts-resolver/default.nix new file mode 100644 index 00000000..49fbb7c9 --- /dev/null +++ b/overlays/postfix-mta-sts-resolver/default.nix @@ -0,0 +1,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 + ''; + }; + }; +} -- cgit v1.2.3