package.nix (704B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 }: 6 7 stdenv.mkDerivation (finalAttrs: { 8 pname = "lacc"; 9 version = "0-unstable-2022-05-21"; 10 11 __structuredAttrs = true; 12 13 src = fetchFromGitHub { 14 owner = "larmel"; 15 repo = "lacc"; 16 rev = "30839843daaff9d87574b5854854c9ee4610cdcd"; 17 hash = "sha256-aJDc0zqzdOciBxF06tps9Ow9YL3WKgZmZC74wxju9rs="; 18 }; 19 20 installFlags = [ "PREFIX=$(out)" ]; 21 22 doCheck = false; 23 checkFlags = [ "-C test" ]; 24 checkTarget = "all"; 25 26 meta = { 27 description = "A simple, self-hosting C compiler"; 28 homepage = "https://github.com/larmel/lacc"; 29 license = lib.licenses.mit; 30 platforms = lib.platforms.unix; 31 maintainers = [ lib.maintainers.sikmir ]; 32 }; 33 })
