File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ stdenv ,
4+ fetchurl ,
5+ unixtools ,
6+ groff ,
7+ } :
8+ stdenv . mkDerivation ( finalAttrs : {
9+ pname = "ztools" ;
10+ version = "7/3.1" ;
11+
12+ src = fetchurl {
13+ url = "http://mirror.ifarchive.org/if-archive/infocom/tools/ztools/ztools731.tar.gz" ;
14+ hash = "sha256-vlQX0/fCAr88KJwMnYUSROFOg9tfVK5Hz58AUDuhNXg=" ;
15+ } ;
16+
17+ sourceRoot = "." ;
18+
19+ nativeBuildInputs = [
20+ groff
21+ unixtools . col
22+ ] ;
23+
24+ # compiler flags as defaults have changed
25+ env . NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration -Wno-implicit-int" ;
26+
27+ installPhase = ''
28+ runHook preInstall
29+ mkdir -p $out/bin/
30+ cp {check,infodump,pix2gif,txd} $out/bin/
31+ runHook postInstall
32+ '' ;
33+
34+ meta = {
35+ description = "An essential set of Z-machine tools for interpreter authors, experienced Inform programmers, and Z-code hackers." ;
36+ homepage = "http://inform-fiction.org/zmachine/ztools.html" ;
37+ license = lib . licenses . cc-by-sa-40 ;
38+ platforms = lib . platforms . unix ;
39+ maintainers = [ lib . maintainers . haylin ] ;
40+ mainProgram = "txd" ;
41+ } ;
42+ } )
You can’t perform that action at this time.
0 commit comments