rl_json: use finalAttrs

This commit is contained in:
Francesco Gazzetta
2024-03-06 12:39:08 +01:00
parent 42934bf64f
commit 45dd476c54
+3 -3
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;
};
}
})