2014-05-29 12:38:13 +01:00
|
|
|
{ stdenv, fetchgit, pkgconfig, dbus, libnotify, udisks2, gdk_pixbuf }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "usermount-0.1";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/tom5760/usermount.git";
|
|
|
|
rev = "0d6aba3c1f8fec80de502f5b92fd8b28041cc8e4";
|
|
|
|
sha256 = "1bzxwq83ikljnv0f55siyd6rd0gs9v7jl9947lw6s1npa63x3b55";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig dbus libnotify udisks2 gdk_pixbuf ];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = [ "-DENABLE_NOTIFICATIONS" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mv usermount $out/bin/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/tom5760/usermount;
|
|
|
|
description = "A simple tool to automatically mount removable drives using UDisks2 and D-Bus.";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2014-05-29 12:38:13 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
|
|
|
};
|
|
|
|
}
|