5 stdenv.mkDerivation rec {
9 src = fetchFromGitHub {
10 owner = "mateoconlechuga";
13 sha256 = "sha256-zCRM62xwaPaN8+cg+CeaqK/9hKpZmSBBeUOQqAvQGYw=";
16 postPatch = lib.optionalString stdenv.isDarwin ''
17 substituteInPlace Makefile --replace "-flto" ""
20 makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
32 install -Dm755 bin/convbin $out/bin/convbin
36 description = "Converts files to other formats";
38 This program is used to convert files to other formats,
39 specifically for the TI84+CE and related calculators.
41 homepage = "https://github.com/mateoconlechuga/convbin";
42 license = licenses.bsd3;
43 maintainers = with maintainers; [ luc65r ];
44 platforms = platforms.all;