1 { fetchurl, lib, stdenv, flex }:
3 stdenv.mkDerivation rec {
8 url = "https://www.splint.org/downloads/${pname}-${version}.src.tgz";
9 sha256 = "02pv8kscsrkrzip9r08pfs9xs98q74c52mlxzbii6cv6vx1vd3f7";
12 patches = [ ./tmpdir.patch ] ++ lib.optional stdenv.isDarwin ./darwin.patch;
14 buildInputs = [ flex ];
19 homepage = "http://www.splint.org/";
20 description = "Annotation-assisted lightweight static analyzer for C";
23 Splint is a tool for statically checking C programs for security
24 vulnerabilities and coding mistakes. With minimal effort, Splint
25 can be used as a better lint. If additional effort is invested
26 adding annotations to programs, Splint can perform stronger
27 checking than can be done by any standard lint.
30 license = licenses.gpl2Plus;
31 platforms = platforms.unix;