Skip to content

Commit a7e62e6

Browse files
authored
cdemu-daemon: 3.2.6 -> 3.2.7 (#342883)
2 parents f0297c4 + 801b8a2 commit a7e62e6

File tree

4 files changed

+36
-10
lines changed

4 files changed

+36
-10
lines changed

nixos/modules/programs/cdemu.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ in {
6060
systemd.user.services.cdemu-daemon.serviceConfig = {
6161
Type = "dbus";
6262
BusName = "net.sf.cdemu.CDEmuDaemon";
63-
ExecStart = "${pkgs.cdemu-daemon}/bin/cdemu-daemon --config-file \"%h/.config/cdemu-daemon\"";
63+
ExecStart = "${lib.getExe pkgs.cdemu-daemon} --config-file \"%h/.config/cdemu-daemon\"";
6464
Restart = "no";
6565
};
6666

pkgs/applications/emulators/cdemu/daemon.nix

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
{ stdenv, callPackage, cmake, pkg-config, glib, libao, intltool, libmirage, coreutils }:
2-
stdenv.mkDerivation {
32

3+
let
44
inherit (callPackage ./common-drv-attrs.nix {
5-
version = "3.2.6";
5+
version = "3.2.7";
66
pname = "cdemu-daemon";
7-
hash = "sha256-puQE4+91xhRuNjVPZYgN/WO0uO8fVAOdxQWOGQ+FfY8=";
7+
hash = "sha256-EKh2G6RA9Yq46BpTAqN2s6TpLJb8gwDuEpGiwdGcelc=";
88
}) pname version src meta;
9+
in
10+
stdenv.mkDerivation {
11+
inherit pname version src;
912

1013
nativeBuildInputs = [ cmake pkg-config intltool ];
1114
buildInputs = [ glib libao libmirage ];
@@ -17,4 +20,16 @@ stdenv.mkDerivation {
1720
$out/share/dbus-1/services/net.sf.cdemu.CDEmuDaemon.service \
1821
--replace /bin/true ${coreutils}/bin/true
1922
'';
23+
24+
meta = {
25+
inherit (meta)
26+
description
27+
license
28+
longDescription
29+
maintainers
30+
platforms
31+
;
32+
homepage = "https://cdemu.sourceforge.io/about/daemon/";
33+
mainProgram = "cdemu-daemon";
34+
};
2035
}

pkgs/applications/emulators/cdemu/libmirage.nix

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,29 @@
22
, glib, libsndfile, zlib, bzip2, xz, libsamplerate, intltool
33
, pcre, util-linux, libselinux, libsepol }:
44

5-
stdenv.mkDerivation {
6-
5+
let
76
inherit (callPackage ./common-drv-attrs.nix {
8-
version = "3.2.7";
7+
version = "3.2.9";
98
pname = "libmirage";
10-
hash = "sha256-+okkgNeVS8yoKSrQDy4It7PiPlTSiOsUoFxQ1FS9s9M=";
9+
hash = "sha256-JBd+wHSZRyRW1SZsaAaRO2dNUFkpwRCr3s1f39KyWIs=";
1110
}) pname version src meta;
11+
in
12+
stdenv.mkDerivation {
13+
inherit pname version src;
1214

1315
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR = "${placeholder "out"}/share/gir-1.0";
1416
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR = "${placeholder "out"}/lib/girepository-1.0";
1517
buildInputs = [ glib libsndfile zlib bzip2 xz libsamplerate ];
1618
nativeBuildInputs = [ cmake pkg-config intltool gobject-introspection ];
1719
propagatedBuildInputs = [ pcre util-linux libselinux libsepol ];
1820

21+
meta = {
22+
inherit (meta)
23+
maintainers
24+
license
25+
platforms
26+
;
27+
description = "CD-ROM image access library";
28+
homepage = "https://cdemu.sourceforge.io/about/libmirage/";
29+
};
1930
}

pkgs/applications/emulators/cdemu/vhba.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
stdenv.mkDerivation rec {
44
pname = "vhba";
5-
version = "20240202";
5+
version = "20240917";
66

77
src = fetchurl {
88
url = "mirror://sourceforge/cdemu/vhba-module-${version}.tar.xz";
9-
hash = "sha256-v1hQ1Lj1AiHKh9c0OpKe2oexkfb1roxhQXRUO1ut3oM=";
9+
hash = "sha256-zjTLriw2zvjX0Jxfa9QtaHG5tTC7cLTKEA+WSCP+Dpg=";
1010
};
1111

1212
makeFlags = kernel.makeFlags ++ [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" "INSTALL_MOD_PATH=$(out)" ];

0 commit comments

Comments
 (0)