default.nix (675B)
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 src = fetchFromGitHub { 12 owner = "larmel"; 13 repo = "lacc"; 14 rev = "30839843daaff9d87574b5854854c9ee4610cdcd"; 15 hash = "sha256-aJDc0zqzdOciBxF06tps9Ow9YL3WKgZmZC74wxju9rs="; 16 }; 17 18 installFlags = [ "PREFIX=$(out)" ]; 19 20 doCheck = false; 21 checkFlags = [ "-C test" ]; 22 checkTarget = "all"; 23 24 meta = { 25 description = "A simple, self-hosting C compiler"; 26 homepage = "https://github.com/larmel/lacc"; 27 license = lib.licenses.mit; 28 platforms = lib.platforms.unix; 29 maintainers = [ lib.maintainers.sikmir ]; 30 }; 31 })