1 { lib, stdenv, fetchurl, ncurses }:
3 stdenv.mkDerivation rec {
4 pname = "collapseos-cvm";
7 url = "http://collapseos.org/files/collapseos-${version}.tar.gz";
8 hash = "sha256-8bt6wj93T82K9fqtuC/mctkMCzfvW0taxv6QAKeJb5g=";
10 buildInputs = [ ncurses ];
13 substituteInPlace common.mk \
14 --replace "-lcurses" "-lncurses"
18 find . -type f -executable -exec install -Dt $out/bin {} \;
22 description = "Virtual machine for Collapse OS (Forth operating system)";
23 changelog = "http://collapseos.org/files/CHANGES.txt";
24 downloadPage = "http://collapseos.org/files/";
25 homepage = "http://collapseos.org/";
26 license = lib.licenses.gpl3Only;
27 maintainers = with lib.maintainers; [ ehmry ];
28 mainProgram = "cos-serial";