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 46c50a4c59
~
Signed-off-by: roxwize <rae@roxwize.xyz>
2025-01-26 00:35:22 -05:00

23 lines
618 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 = with lib; {
description = "A small C compiler... for uxn";
homepage = "https://github.com/lynn/chibicc";
license = licenses.mit;
platforms = platforms.unix;
};
}