2011-07-26 15:12:33 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, dbus, libcap }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-04-18 11:21:20 +01:00
|
|
|
name = "rtkit-0.11";
|
2011-07-26 15:12:33 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-04-18 11:21:20 +01:00
|
|
|
url = "http://0pointer.de/public/${name}.tar.xz";
|
|
|
|
sha256 = "1l5cb1gp6wgpc9vq6sx021qs6zb0nxg3cn1ba00hjhgnrw4931b8";
|
2011-07-26 15:12:33 +01:00
|
|
|
};
|
|
|
|
|
2014-04-18 11:21:20 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
|
|
|
];
|
|
|
|
|
2011-07-26 15:12:33 +01:00
|
|
|
buildInputs = [ pkgconfig dbus libcap ];
|
2014-04-18 11:21:20 +01:00
|
|
|
|
2011-07-26 15:12:33 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://0pointer.de/blog/projects/rtkit;
|
|
|
|
descriptions = "A daemon that hands out real-time priority to processes";
|
2011-08-01 14:26:00 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2011-07-26 15:12:33 +01:00
|
|
|
};
|
|
|
|
}
|