Created
February 18, 2025 14:06
-
-
Save paulvictor/2b3916da63b3ded1a2972d80f43044c9 to your computer and use it in GitHub Desktop.
schemesh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
stdenv.mkDerivation { | |
name = "schemesh"; | |
nativeBuildInputs = [ chez makeWrapper ]; | |
buildInputs = [ zlib ncurses libuuid ]; | |
src = pkgs.fetchFromGitHub { | |
owner = "cosmos72"; | |
repo = "schemesh"; | |
rev = "41ed73efdbdd0a999e170d83f290f74a1c80e005"; | |
hash = "sha256-HJIiAh/1q4HtPyAvFRFEIu/CxSvv7nSgyU872GJaTZs="; | |
}; | |
buildPhase = '' | |
mkdir -pv $out/bin | |
cp -a $src/* . | |
DESTDIR=$out prefix= SCHEMESH_LIBDIR=/bin make -e install | |
wrapProgram $out/bin/schemesh --add-flags "--library-dir $out/bin" | |
''; | |
phases = [ "buildPhase" ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment