12 desktopItem = makeDesktopItem {
15 comment = "A word processor for handwriting";
16 icon = "write_stylus";
17 desktopName = "Write";
18 genericName = "Write";
25 stdenv.mkDerivation rec {
26 pname = "styluslabs-write-bin";
30 url = "http://www.styluslabs.com/write/write${version}.tar.gz";
31 sha256 = "0h1wf3af7jzp3f3l8mlnshi83d7a4v4y8nfqfai4lmskyicqlz7c";
41 # symlink the binary to bin/
42 ln -s $out/Write/Write $out/bin/Write
45 mkdir -p $out/share/applications
46 ln -s ${desktopItem}/share/applications/* $out/share/applications/
47 mkdir -p $out/share/icons
48 ln -s $out/Write/Write144x144.png $out/share/icons/write_stylus.png
52 libPath = lib.makeLibraryPath [
53 libsForQt5.qtbase # libQt5PrintSupport.so.5
54 libsForQt5.qtsvg # libQt5Svg.so.5
55 (lib.getLib stdenv.cc.cc) # libstdc++.so.6
63 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
64 --set-rpath "${libPath}" \
69 homepage = "http://www.styluslabs.com/";
70 description = "Write is a word processor for handwriting";
71 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
72 platforms = platforms.linux;
73 license = lib.licenses.unfree;
74 maintainers = with maintainers; [