lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v192 32 lines 946 B view raw
1{ stdenv, fetchurl, saneBackends, saneFrontends, libX11, gtk, pkgconfig, libpng 2, libusb ? null 3, gimpSupport ? false, gimp_2_8 ? null 4}: 5 6assert gimpSupport -> gimp_2_8 != null; 7 8stdenv.mkDerivation rec { 9 name = "xsane-0.999"; 10 11 src = fetchurl { 12 url = "http://www.xsane.org/download/${name}.tar.gz"; 13 sha256 = "0jrb918sfb9jw3vmrz0z7np4q55hgsqqffpixs0ir5nwcwzd50jp"; 14 }; 15 16 preConfigure = '' 17 sed -e '/SANE_CAP_ALWAYS_SETTABLE/d' -i src/xsane-back-gtk.c 18 chmod a+rX -R . 19 ''; 20 21 buildInputs = [libpng saneBackends saneFrontends libX11 gtk pkgconfig ] 22 ++ (if libusb != null then [libusb] else []) 23 ++ stdenv.lib.optional gimpSupport gimp_2_8; 24 25 meta = { 26 homepage = http://www.sane-project.org/; 27 description = "Graphical scanning frontend for sane"; 28 license = stdenv.lib.licenses.gpl2Plus; 29 maintainers = with stdenv.lib.maintainers; [viric simons]; 30 platforms = with stdenv.lib.platforms; linux; 31 }; 32}