splint: migrate to finalAttrs

Assisted-by: claude-opus-4-8
This commit is contained in:
Dmitry Bogatov
2026-10-10 12:43:28 +00:00
parent c23399dfe0
commit 8ee299e5c9

View File

@@ -5,12 +5,12 @@
flex,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "splint";
version = "3.1.2";
src = fetchurl {
url = "https://www.splint.org/downloads/${pname}-${version}.src.tgz";
url = "https://www.splint.org/downloads/splint-${finalAttrs.version}.src.tgz";
sha256 = "02pv8kscsrkrzip9r08pfs9xs98q74c52mlxzbii6cv6vx1vd3f7";
};
@@ -40,4 +40,4 @@ stdenv.mkDerivation rec {
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
};
}
})