package.nix (678B)
1 { 2 lib, 3 stdenv, 4 fetchFromSourcehut, 5 qbe, 6 }: 7 8 stdenv.mkDerivation (finalAttrs: { 9 pname = "cproc"; 10 version = "0-unstable-2025-02-11"; 11 12 __structuredAttrs = true; 13 14 src = fetchFromSourcehut { 15 owner = "~mcf"; 16 repo = "cproc"; 17 rev = "a2ddee1be68e76a1ac7f83b55732be8e54fe08c4"; 18 hash = "sha256-mQw2lTr/e8f778r69h7w+xg9IqO3UO1FJi6x8H1SbQ4="; 19 }; 20 21 buildInputs = [ qbe ]; 22 23 doCheck = true; 24 25 meta = { 26 description = "C11 compiler using QBE as a backend"; 27 homepage = "https://sr.ht/~mcf/cproc"; 28 license = lib.licenses.isc; 29 maintainers = [ lib.maintainers.sikmir ]; 30 platforms = lib.platforms.linux; 31 skip.ci = stdenv.isDarwin; 32 }; 33 })
