libfyaml: use finalAttrs pattern

This commit is contained in:
Mario Rodas 2023-09-26 04:20:00 +00:00
parent 4b1e71380f
commit caa9885f7c

View file

@ -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;
};
}
})