1 { stdenv, fetchurl, pkgconfig, sg3_utils, udev, glib, dbus, dbus_glib
2 , polkit, parted, lvm2, libatasmart, intltool, libuuid, mdadm
3 , libxslt, docbook_xsl, utillinux }:
5 stdenv.mkDerivation rec {
9 url = "http://hal.freedesktop.org/releases/${name}.tar.gz";
10 sha256 = "0jwavs2ag0cv46517j17943s16a8fw2lqk4k3cljgivh5aswwnyr";
14 [ pkgconfig sg3_utils udev glib dbus dbus_glib polkit parted
15 lvm2 libatasmart intltool libuuid libxslt docbook_xsl
18 configureFlags = "--localstatedir=/var";
22 # Ensure that udisks can find the necessary programs.
23 substituteInPlace src/main.c --replace \
24 "/sbin:/bin:/usr/sbin:/usr/bin" \
25 "${utillinux}/bin:${mdadm}/sbin:/var/run/current-system/sw/bin:/var/run/current-system/sw/sbin"
29 homepage = http://www.freedesktop.org/wiki/Software/udisks;
30 description = "A daemon and command-line utility for querying and manipulating storage devices";
31 platforms = stdenv.lib.platforms.linux;