tlsclient: rec -> finalAttrs pattern

This commit is contained in:
Jacob Moody 2023-07-20 11:19:25 -05:00
parent aa6037289a
commit 98d4da0f82

View file

@ -6,14 +6,14 @@
, installShellFiles , installShellFiles
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "tlsclient"; pname = "tlsclient";
version = "1.5"; version = "1.5";
src = fetchFromSourcehut { src = fetchFromSourcehut {
owner = "~moody"; owner = "~moody";
repo = "tlsclient"; repo = "tlsclient";
rev = "v${version}"; rev = "v${finalAttrs.version}";
hash = "sha256-9LKx9x5Kx7Mo4EL/b89Mdsdu8NqVYxohn98XnF+IWXs="; hash = "sha256-9LKx9x5Kx7Mo4EL/b89Mdsdu8NqVYxohn98XnF+IWXs=";
}; };
@ -37,4 +37,4 @@ stdenv.mkDerivation rec {
mainProgram = "tlsclient"; mainProgram = "tlsclient";
platforms = platforms.all; platforms = platforms.all;
}; };
} })