at 17.09-beta 28 lines 834 B view raw
1{ stdenv, fetchgit, pkgconfig, dbus, libnotify, udisks2, gdk_pixbuf }: 2 3stdenv.mkDerivation { 4 name = "usermount-0.1"; 5 6 src = fetchgit { 7 url = "https://github.com/tom5760/usermount.git"; 8 rev = "0d6aba3c1f8fec80de502f5b92fd8b28041cc8e4"; 9 sha256 = "0gpp0vwiwr7kgbhh26jspv3255662mnvnav6g8i2h0qxar8hf8w2"; 10 }; 11 12 buildInputs = [ pkgconfig dbus libnotify udisks2 gdk_pixbuf ]; 13 14 NIX_CFLAGS_COMPILE = [ "-DENABLE_NOTIFICATIONS" ]; 15 16 installPhase = '' 17 mkdir -p $out/bin 18 mv usermount $out/bin/ 19 ''; 20 21 meta = { 22 homepage = https://github.com/tom5760/usermount; 23 description = "A simple tool to automatically mount removable drives using UDisks2 and D-Bus"; 24 license = stdenv.lib.licenses.mit; 25 platforms = stdenv.lib.platforms.linux; 26 maintainers = with stdenv.lib.maintainers; [ the-kenny ]; 27 }; 28}