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
53 lines
1.0 KiB
Nix
53 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitLab,
|
|
libuv,
|
|
coreutils-full,
|
|
pkg-config,
|
|
gnugrep,
|
|
gnused,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dps8m";
|
|
version = "3.1.0";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "dps8m";
|
|
repo = "dps8m";
|
|
rev = "R${version}";
|
|
hash = "sha256-2PTL9C1sV+UTZibjyxBkQh9Y1xqwawNPwWL4eX0ilvU=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
env = {
|
|
ENV = "${coreutils-full}/bin/env";
|
|
GREP = "${gnugrep}/bin/grep";
|
|
SED = "${gnused}/bin/sed";
|
|
PREFIX = placeholder "out";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
coreutils-full
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
libuv
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "GE / Honeywell / Bull DPS-8/M mainframe simulator";
|
|
homepage = "https://gitlab.com/dps8m/dps8m";
|
|
changelog = "https://gitlab.com/dps8m/dps8m/-/wikis/DPS8M-${src.rev}-Release-Notes";
|
|
license = licenses.icu;
|
|
maintainers = with maintainers; [
|
|
matthewcroughan
|
|
sarcasticadmin
|
|
];
|
|
mainProgram = "dps8m";
|
|
platforms = platforms.all;
|
|
};
|
|
}
|