diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2023-09-26 04:20:00 +0000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2023-09-26 04:20:00 +0000 |
commit | caa9885f7c93ebc84fd67a82297fdc355a0804bc (patch) | |
tree | cb338c45779cc403d287f7b2b60de68f27704fbb /pkgs/development/libraries/libfyaml | |
parent | 4b1e71380f797d66add9af0a5fb4908387697f31 (diff) |
libfyaml: use finalAttrs pattern
Diffstat (limited to 'pkgs/development/libraries/libfyaml')
-rw-r--r-- | pkgs/development/libraries/libfyaml/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libfyaml/default.nix b/pkgs/development/libraries/libfyaml/default.nix index 6fe2f398b25e6..dd0926150aace 100644 --- a/pkgs/development/libraries/libfyaml/default.nix +++ b/pkgs/development/libraries/libfyaml/default.nix @@ -1,13 +1,13 @@ { lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "libfyaml"; version = "0.8"; src = fetchFromGitHub { owner = "pantoniou"; - repo = pname; - rev = "v${version}"; + repo = "libfyaml"; + rev = "v${finalAttrs.version}"; hash = "sha256-b/jRKe23NIVSydoczI+Ax2VjBJLfAEwF8SW61vIDTwA="; }; @@ -28,4 +28,4 @@ stdenv.mkDerivation rec { maintainers = [ maintainers.marsam ]; platforms = platforms.all; }; -} +}) |