default.nix (639B)
1 { lib, stdenv, fetchFromSourcehut, qbe }: 2 3 stdenv.mkDerivation (finalAttrs: { 4 pname = "cproc"; 5 version = "0-unstable-2024-01-27"; 6 7 src = fetchFromSourcehut { 8 owner = "~mcf"; 9 repo = "cproc"; 10 rev = "e96df56b734d0a2619e7690c60a5472449d086c1"; 11 hash = "sha256-SC/Kn2seS/SLN85K/VXsLFCYXUqdwKjg3KiWkbNdu7I="; 12 }; 13 14 buildInputs = [ qbe ]; 15 16 doCheck = true; 17 18 meta = with lib; { 19 description = "C11 compiler using QBE as a backend"; 20 inherit (finalAttrs.src.meta) homepage; 21 license = licenses.isc; 22 maintainers = [ maintainers.sikmir ]; 23 platforms = platforms.linux; 24 skip.ci = stdenv.isDarwin; 25 }; 26 })