{ "{" (1, 1)
ID "lib" (1, 3)
, "," (1, 6)
ID "stdenv" (1, 8)
, "," (1, 14)
ID "fetchurl" (1, 16)
} "}" (1, 25)
: ":" (1, 26)
ID "stdenv" (3, 1)
. "." (3, 7)
ID "mkDerivation" (3, 8)
REC "rec" (3, 21)
{ "{" (3, 25)
ID "pname" (4, 3)
= "=" (4, 9)
" "\"" (4, 11)
STR "p910nd" (4, 12)
" "\"" (4, 18)
; ";" (4, 19)
ID "version" (5, 3)
= "=" (5, 11)
" "\"" (5, 13)
STR "0.97" (5, 14)
" "\"" (5, 18)
; ";" (5, 19)
ID "src" (7, 3)
= "=" (7, 7)
ID "fetchurl" (7, 9)
{ "{" (7, 18)
ID "sha256" (8, 5)
= "=" (8, 12)
" "\"" (8, 14)
STR "0vy2qf386dif1nqznmy3j953mq7c4lk6j2hgyzkbmfi4msiq1jaa" (8, 15)
" "\"" (8, 67)
; ";" (8, 68)
ID "url" (9, 5)
= "=" (9, 9)
" "\"" (9, 11)
STR "mirror://sourceforge/p910nd/" (9, 12)
DOLLAR_CURLY "${" (9, 40)
ID "pname" (9, 42)
} "}" (9, 47)
STR "-" (9, 48)
DOLLAR_CURLY "${" (9, 49)
ID "version" (9, 51)
} "}" (9, 58)
STR ".tar.bz2" (9, 59)
" "\"" (9, 67)
; ";" (9, 68)
} "}" (10, 3)
; ";" (10, 4)
ID "postPatch" (12, 3)
= "=" (12, 13)
IND_STRING_OPEN "''\n" (12, 15)
IND_STR "    substituteInPlace Makefile --replace \"/usr\" \"\"\n    substituteInPlace Makefile --replace \"gcc\" \"" (13, 1)
DOLLAR_CURLY "${" (14, 49)
ID "stdenv" (14, 51)
. "." (14, 57)
ID "cc" (14, 58)
. "." (14, 60)
ID "targetPrefix" (14, 61)
} "}" (14, 73)
IND_STR "cc\"\n  " (14, 74)
IND_STRING_CLOSE "''" (15, 3)
; ";" (15, 5)
ID "makeFlags" (17, 3)
= "=" (17, 13)
[ "[" (17, 15)
" "\"" (17, 17)
STR "DESTDIR=$(out)" (17, 18)
" "\"" (17, 32)
" "\"" (17, 34)
STR "BINDIR=/bin" (17, 35)
" "\"" (17, 46)
] "]" (17, 48)
; ";" (17, 49)
ID "postInstall" (19, 3)
= "=" (19, 15)
IND_STRING_OPEN "''\n" (19, 17)
IND_STR "    # Match the man page:\n    mv $out/etc/init.d/p910nd{,.sh}\n\n    # The legacy init script is useful only (and even then...) as an example:\n    mkdir -p $out/share/doc/examples\n    mv $out/etc $out/share/doc/examples\n  " (20, 1)
IND_STRING_CLOSE "''" (26, 3)
; ";" (26, 5)
ID "meta" (28, 3)
= "=" (28, 8)
WITH "with" (28, 10)
ID "lib" (28, 15)
; ";" (28, 18)
{ "{" (28, 20)
ID "description" (29, 5)
= "=" (29, 17)
" "\"" (29, 19)
STR "Small printer daemon passing jobs directly to the printer" (29, 20)
" "\"" (29, 77)
; ";" (29, 78)
ID "longDescription" (30, 5)
= "=" (30, 21)
IND_STRING_OPEN "''\n" (30, 23)
IND_STR "      p910nd is a small printer daemon intended for diskless platforms that\n      does not spool to disk but passes the job directly to the printer.\n      Normally a lpr daemon on a spooling host connects to it with a TCP\n      connection on port 910n (where n=0, 1, or 2 for lp0, 1 and 2\n      respectively). p910nd is particularly useful for diskless platforms.\n      Common Unix Printing System (CUPS) supports this protocol, it's called\n      the AppSocket protocol and has the scheme socket://. LPRng also supports\n      this protocol and the syntax is lp=remotehost%9100 in /etc/printcap.\n    " (31, 1)
IND_STRING_CLOSE "''" (39, 5)
; ";" (39, 7)
ID "homepage" (40, 5)
= "=" (40, 14)
" "\"" (40, 16)
STR "http://p910nd.sourceforge.net/" (40, 17)
" "\"" (40, 47)
; ";" (40, 48)
ID "downloadPage" (41, 5)
= "=" (41, 18)
" "\"" (41, 20)
STR "https://sourceforge.net/projects/p910nd/" (41, 21)
" "\"" (41, 61)
; ";" (41, 62)
ID "license" (42, 5)
= "=" (42, 13)
ID "licenses" (42, 15)
. "." (42, 23)
ID "gpl2" (42, 24)
; ";" (42, 28)
ID "platforms" (43, 5)
= "=" (43, 15)
ID "platforms" (43, 17)
. "." (43, 26)
ID "unix" (43, 27)
; ";" (43, 31)
} "}" (44, 3)
; ";" (44, 4)
} "}" (45, 1)