10 stdenv.mkDerivation rec {
14 src = fetchFromGitHub {
15 owner = "JohnEarnest";
18 hash = "sha256-2va11qci/BEN6clw3aDjZA2EVaW1WF93bU44wPYyKrA=";
31 patchShebangs ./scripts
45 install -Dm0755 ./c/build/lilt -t $out/bin
46 install -Dm0755 ./c/build/decker -t $out/bin
47 install -Dm0644 ./syntax/vim/ftdetect/lil.vim -t $out/share/vim-plugins/decker/ftdetect
48 install -Dm0644 ./syntax/vim/syntax/lil.vim -t $out/share/vim-plugins/decker/syntax
50 # Fixing the permissions of the installed files on the documentation.
51 chmod a-x ./docs/images/* \
53 ./examples/decks/*.deck \
56 # This example has a shebang so we'll leave it as an executable.
57 chmod a+x ./examples/lilt/podcasts.lil
59 mkdir -p $out/share/doc/decker
60 cp -r ./docs/*.html ./docs/images ./examples $out/share/doc/decker
72 homepage = "https://beyondloom.com/decker";
73 description = "Multimedia platform for creating and sharing interactive documents";
74 license = licenses.mit;
75 mainProgram = "decker";
76 platforms = platforms.all;
77 maintainers = with maintainers; [ foo-dogsquared ];