Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
49 lines
1.1 KiB
Nix
49 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
scheme48,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "scsh";
|
|
version = "0.7-unstable-2024-03-09";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "scheme";
|
|
repo = "scsh";
|
|
rev = "6770db21b08edd907d1c9bd962297ff55664e3fe";
|
|
hash = "sha256-U95Rc/Ks5AytB5UwbzQLI3/Sj4TYybrp8/45fu9krSU=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
patches = [
|
|
# Fix the build against gcc-14:
|
|
# https://github.com/scheme/scsh/pull/50
|
|
./gcc-14-p1.patch
|
|
# Fix the build against gcc-14:
|
|
# https://github.com/scheme/scsh/pull/51
|
|
./gcc-14-p2.patch
|
|
];
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ scheme48 ];
|
|
configureFlags = [ "--with-scheme48=${scheme48}" ];
|
|
makeFlags = [
|
|
"SCHEME48VERSION=${scheme48.version}"
|
|
];
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = with lib; {
|
|
description = "Scheme shell";
|
|
homepage = "http://www.scsh.net/";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ joachifm ];
|
|
platforms = with platforms; unix;
|
|
mainProgram = "scsh";
|
|
};
|
|
}
|