depot/third_party/nixpkgs/pkgs/by-name/dp/dps8m/package.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

48 lines
1,007 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ lib
, stdenv
, fetchFromGitLab
, libuv
, coreutils-full
, pkg-config
, gnugrep
, gnused
}:
stdenv.mkDerivation rec {
pname = "dps8m";
version = "3.0.1";
src = fetchFromGitLab {
owner = "dps8m";
repo = "dps8m";
rev = "R${version}";
hash = "sha256-YCDeHryxXZXOXqUXkbWwH7Vna+ljzydFXPeo2et87x8=";
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 = "DPS8M: GE / Honeywell / Bull DPS8/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;
};
}