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