about summary refs log tree commit diff
diff options
context:
space:
mode:
authormatthewcroughan <matt@croughan.sh>2023-10-30 18:34:05 +0000
committerEmery Hemingway <ehmry@posteo.net>2024-05-02 15:34:02 +0000
commit2526562588daabe0a69a0300b8d38f62f8675c75 (patch)
treef53d51d972a7054ca617ef461d02a7df32fbef94
parente841544d6c8162f01808c325a1e230a878244523 (diff)
downloadnixlib-2526562588daabe0a69a0300b8d38f62f8675c75.tar
nixlib-2526562588daabe0a69a0300b8d38f62f8675c75.tar.gz
nixlib-2526562588daabe0a69a0300b8d38f62f8675c75.tar.bz2
nixlib-2526562588daabe0a69a0300b8d38f62f8675c75.tar.lz
nixlib-2526562588daabe0a69a0300b8d38f62f8675c75.tar.xz
nixlib-2526562588daabe0a69a0300b8d38f62f8675c75.tar.zst
nixlib-2526562588daabe0a69a0300b8d38f62f8675c75.zip
dps8m: init at 3.0.1
-rw-r--r--pkgs/by-name/dp/dps8m/package.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/by-name/dp/dps8m/package.nix b/pkgs/by-name/dp/dps8m/package.nix
new file mode 100644
index 000000000000..939bb17c8506
--- /dev/null
+++ b/pkgs/by-name/dp/dps8m/package.nix
@@ -0,0 +1,47 @@
+{ 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 DPS‑8/M mainframe simulator";
+    homepage = "https://gitlab.com/dps8m/dps8m";
+    license = licenses.icu;
+    maintainers = with maintainers; [ matthewcroughan sarcasticadmin ];
+    mainProgram = "dps8m";
+    platforms = platforms.all;
+  };
+}