about summary refs log tree commit diff
path: root/pkgs/applications/emulators/cdemu/common-drv-attrs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/emulators/cdemu/common-drv-attrs.nix')
-rw-r--r--pkgs/applications/emulators/cdemu/common-drv-attrs.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/cdemu/common-drv-attrs.nix b/pkgs/applications/emulators/cdemu/common-drv-attrs.nix
new file mode 100644
index 0000000000000..9c43e358981ef
--- /dev/null
+++ b/pkgs/applications/emulators/cdemu/common-drv-attrs.nix
@@ -0,0 +1,29 @@
+{ lib, fetchurl
+, pname, version, hash
+}:
+
+{
+  inherit pname version;
+  src = fetchurl {
+    url = "mirror://sourceforge/cdemu/${pname}-${version}.tar.xz";
+    inherit hash;
+  };
+  meta = with lib; {
+    description = "A suite of tools for emulating optical drives and discs";
+    longDescription = ''
+      CDEmu consists of:
+
+      - a kernel module implementing a virtual drive-controller
+      - libmirage which is a software library for interpreting optical disc images
+      - a daemon which emulates the functionality of an optical drive+disc
+      - textmode and GTK clients for controlling the emulator
+      - an image analyzer to view the structure of image files
+
+      Optical media emulated by CDemu can be mounted within Linux. Automounting is also allowed.
+    '';
+    homepage = "https://cdemu.sourceforge.io/";
+    license = licenses.gpl2Plus;
+    platforms = platforms.linux;
+    maintainers = with lib.maintainers; [ bendlas ];
+  };
+}