lol
0
fork

Configure Feed

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

at 16.09-beta 45 lines 1.6 kB view raw
1{ stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 name = "p910nd-${version}"; 5 version = "0.97"; 6 7 src = fetchurl { 8 sha256 = "0vy2qf386dif1nqznmy3j953mq7c4lk6j2hgyzkbmfi4msiq1jaa"; 9 url = "mirror://sourceforge/p910nd/${name}.tar.bz2"; 10 }; 11 12 postPatch = '' 13 sed -e "s|/usr||g" -i Makefile 14 ''; 15 16 makeFlags = [ "DESTDIR=$(out)" "BINDIR=/bin" ]; 17 18 postInstall = '' 19 # Match the man page: 20 mv $out/etc/init.d/p910nd{,.sh} 21 22 # The legacy init script is useful only (and even then...) as an example: 23 mkdir -p $out/share/doc/examples 24 mv $out/etc $out/share/doc/examples 25 ''; 26 27 meta = with stdenv.lib; { 28 description = "Small printer daemon passing jobs directly to the printer"; 29 longDescription = '' 30 p910nd is a small printer daemon intended for diskless platforms that 31 does not spool to disk but passes the job directly to the printer. 32 Normally a lpr daemon on a spooling host connects to it with a TCP 33 connection on port 910n (where n=0, 1, or 2 for lp0, 1 and 2 34 respectively). p910nd is particularly useful for diskless platforms. 35 Common Unix Printing System (CUPS) supports this protocol, it's called 36 the AppSocket protocol and has the scheme socket://. LPRng also supports 37 this protocol and the syntax is lp=remotehost%9100 in /etc/printcap. 38 ''; 39 homepage = http://p910nd.sourceforge.net/; 40 downloadPage = http://sourceforge.net/projects/p910nd/; 41 license = licenses.gpl2; 42 platforms = platforms.linux; 43 maintainers = with maintainers; [ nckx ]; 44 }; 45}