1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-01-31 07:03:36 +00:00
.dotfiles/nixos/pkgs/chibicc-uxn/default.nix
roxwize c38f040574
~
Signed-off-by: roxwize <rae@roxwize.xyz>
2025-01-24 16:08:11 -05:00

23 lines
616 B
Nix

{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation {
pname = "chibicc-uxn";
version = "1.0.0";
src = fetchFromGitHub {
owner = "lynn";
repo = "chibicc";
rev = "0a590db363fb8d69b80fc70d9dfb7e655aafe656";
sha256 = "1jf18dh9ns0q79q8ql5yiw7l3zswyy0qjlz089xr3kw4zpqaqfmn";
};
installPhase = ''
mkdir -p $out/bin
cp chibicc $out/bin
'';
meta = {
description = "A small C compiler... for uxn";
homepage = "https://github.com/lynn/chibicc";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
};
}