rl_json: use finalAttrs

This commit is contained in:
Francesco Gazzetta 2024-02-17 10:18:42 +01:00
parent 42934bf64f
commit 45dd476c54

View File

@ -5,14 +5,14 @@
, tcl
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "rl_json";
version = "0.15.1";
src = fetchFromGitHub {
owner = "RubyLane";
repo = "rl_json";
rev = version;
rev = finalAttrs.version;
hash = "sha256-FkOsdOHPE75bSkKw3cdaech6jAv0f/RJ9tgRVzPSAdA=";
fetchSubmodules = true;
};
@ -43,4 +43,4 @@ stdenv.mkDerivation rec {
# From version 0.15.1: 'endian.h' file not found
broken = stdenv.isDarwin;
};
}
})